增加PushMe消息通道 (#2018),修复系统设置保存通知

This commit is contained in:
雨思
2023-07-20 13:19:39 +08:00
committed by GitHub
parent 56eb0c5408
commit 373b8c97d7
7 changed files with 108 additions and 6 deletions
+1 -3
View File
@@ -50,9 +50,7 @@ const Initialization = () => {
const submitNotification = (values: any) => {
setLoading(true);
request
.put(`${config.apiPrefix}user/notification/init`, {
values,
})
.put(`${config.apiPrefix}user/notification/init`, values)
.then(({ code, data }) => {
if (code === 200) {
next();