|
@@ -192,7 +192,10 @@ export const systemSettingQuery = isSystem => {
|
|
}
|
|
}
|
|
return $postParam("/api/admin/sys/setting/get", {});
|
|
return $postParam("/api/admin/sys/setting/get", {});
|
|
};
|
|
};
|
|
-export const updateSystemSetting = datas => {
|
|
|
|
|
|
+export const updateSystemSetting = (datas, isSystem) => {
|
|
|
|
+ if (isSystem) {
|
|
|
|
+ return $post("/api/admin/sys/setting_global/save", datas);
|
|
|
|
+ }
|
|
return $post("/api/admin/sys/setting/save", datas);
|
|
return $post("/api/admin/sys/setting/save", datas);
|
|
};
|
|
};
|
|
|
|
|