优化ios版本,新增注销账号功能
This commit is contained in:
@@ -10,8 +10,8 @@ import router from '../router'
|
||||
|
||||
// 基础配置
|
||||
const config = {
|
||||
apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||
// apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||
// apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||
apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||
timeout : 60000
|
||||
}
|
||||
|
||||
|
||||
@@ -187,6 +187,23 @@ const debtUrl = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 账户注销
|
||||
const offSmsCode = data => {
|
||||
return request({
|
||||
url : 'app/user/log_off_code',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 账户注销确认
|
||||
const offUser = data => {
|
||||
return request({
|
||||
url: 'app/user/log_off',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
relations,
|
||||
code,
|
||||
@@ -209,5 +226,7 @@ export {
|
||||
getSignLogs,
|
||||
getFlows,
|
||||
createCity,
|
||||
debtUrl
|
||||
debtUrl,
|
||||
offSmsCode,
|
||||
offUser
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user