This commit is contained in:
熊丽君
2021-09-03 18:50:45 +08:00
parent 03ac65acaf
commit 9d64ce4bfa
22 changed files with 1451 additions and 132 deletions

View File

@ -8,6 +8,14 @@ export function getInfo(data) {
data
})
}
// 获取手机验证码 body放phone和activityId(活动id)
export function getCode(data) {
return request({
url: '/mobile/getCode',
method:'post',
data
})
}
// 客户填写订单信息
export function addOrder(data) {
return request({

View File

@ -4,7 +4,8 @@ const request = (config) => {
mask: true
})
// 处理 apiUrl
config.url = 'http://192.168.0.125:1777' + config.url;
// config.url = 'http://192.168.0.125:1777' + config.url;
config.url = 'http://golden.shangqie.cn/api' + config.url;
if(!config.data){
config.data = {};
}