新增订单开票

This commit is contained in:
gyq
2024-07-23 18:30:16 +08:00
parent d2183eec37
commit 9e57753323
7 changed files with 174 additions and 26 deletions

View File

@@ -15,12 +15,12 @@ const service = axios.create({
// 请求拦截器
service.interceptors.request.use(
(config) => {
// // 在发送请求之前做些什么 token
// if (useStorage.get("douyin") && useStorage.get("douyin").token) {
// config.headers["bausertoken"] = useStorage.get("douyin").token;
// // config.headers['Content-Type'] = 'application/json'
// }
// 在发送请求之前做些什么 token
config.headers["pctoken"] = useStorage.get("token");
config.headers["ispc"] = 1;
config.headers["loginName"] = useStorage.get("userInfo").loginName;
config.headers["clientType"] = "pc";
config.headers["shopId"] = useStorage.get("userInfo").shopId;
return config;
},
(error) => {