登录保存商户信息

This commit is contained in:
duan
2024-10-21 16:55:26 +08:00
parent 9c97a912a7
commit c6b4e503dc
11 changed files with 129 additions and 68 deletions

View File

@@ -16,10 +16,10 @@ import {
import infoBox from "@/commons/utils/infoBox.js"
import go from '@/commons/utils/go.js';
// 测试服
let baseUrl = 'https://admintestpapi.sxczgkj.cn'
// let baseUrl = 'https://admintestpapi.sxczgkj.cn'
// 王伟本地测
// let baseUrl = '/ww'
// let baseUrl = 'http://192.168.1.15:8000'
let baseUrl = 'http://192.168.1.15:8000'
// 多少 ms 以内, 不提示loading
const loadingShowTime = 200
@@ -64,7 +64,6 @@ function commonsProcess(showLoading, httpReqCallback) {
return httpReqCallback().then((httpData) => {
reqFinishFunc(); // 请求完毕的动作
console.log(httpData,'调试1')
// 从http响应数据中解构响应数据 [ 响应码、 bodyData ]
let {
statusCode,

View File

@@ -220,10 +220,11 @@ export function callTablecall(data) {
});
}
// 获取员工列表
export function rolesGet() {
export function rolesGet(params) {
return request({
url: `/api/tbPlussShopStaff`,
method: "get"
method: "get",
params
});
}
// 删除员工