feat:接口header中添加foo字段
This commit is contained in:
parent
b742121fc1
commit
108492b951
@ -1,5 +1,5 @@
|
||||
export default {
|
||||
// baseUrl: "https://stock.szjixun.cn", //"https://warehouse.szjixun.cn", // https://stock.szjixun.cn
|
||||
// baseUrl: "http://192.168.88.58:9021",
|
||||
baseUrl: "https://warehouse.szjixun.cn",
|
||||
baseUrl: "http://192.168.88.58:9021",
|
||||
// baseUrl: "https://warehouse.szjixun.cn",
|
||||
};
|
||||
|
@ -4,10 +4,11 @@
|
||||
*/
|
||||
export default {
|
||||
config: {
|
||||
// baseUrl: "http://192.168.88.58:9021",
|
||||
baseUrl: "https://warehouse.szjixun.cn",
|
||||
baseUrl: "http://192.168.88.58:9021",
|
||||
// baseUrl: "https://warehouse.szjixun.cn",
|
||||
// baseUrl: "https://stock.szjixun.cn", //"http://172.16.100.93:8017", //"http://192.168.88.175:9021",//测试 'https://warehouse.szjixun.cn' 正式 https://stock.szjixun.cn
|
||||
header: {
|
||||
"foo": "bar",
|
||||
"Content-Type": "application/json;charset=UTF-8",
|
||||
// 'Content-Type':'application/x-www-form-urlencoded'
|
||||
},
|
||||
|
@ -238,7 +238,7 @@ export default {
|
||||
this.$common.msgToast('请稍等')
|
||||
uni.setStorageSync('token', res.data.token)
|
||||
uni.setStorageSync('telNum', this.phone)
|
||||
if (res.data.isRealName) {
|
||||
if (!res.data.isNew) {
|
||||
uni.reLaunch({
|
||||
url: `/pages/home/index`
|
||||
})
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -18,7 +18,7 @@
|
||||
}
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.7.0",
|
||||
"libVersion": "3.0.2",
|
||||
"appid": "wx2ab0adfa3346d44f",
|
||||
"projectname": "uni-Identify-quality",
|
||||
"condition": {
|
||||
@ -41,6 +41,6 @@
|
||||
},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
"tabSize": 4
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon",
|
||||
"u-icon": "/uview-ui/components/u-icon/u-icon"
|
||||
}
|
||||
},
|
||||
"component": true
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "/uview-ui/components/u-icon/u-icon",
|
||||
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user