21 lines
537 B
JavaScript
21 lines
537 B
JavaScript
import http from "../utils/http";
|
|
import config from "../config/config";
|
|
|
|
export function GetRingStatus() {
|
|
return http({
|
|
url: '/shop/shop-store-base/get',
|
|
method: 'get',
|
|
baseURL: config.adminApi,
|
|
});
|
|
}
|
|
export function UpdateRingStatus(formData) {
|
|
return http({
|
|
url: '/shop/shop-store-base/storeSetUp',
|
|
method: 'post',
|
|
baseURL: config.adminApi,
|
|
data: formData, // 提交表单数据
|
|
headers: {
|
|
'Content-Type': 'application/x-www-form-urlencoded' // 设置请求头为表单格式
|
|
}
|
|
});
|
|
} |