提交 569879e8 作者: wk

快捷登录直接注册

父级 9d945799
......@@ -37,6 +37,10 @@ const params = {
url: "/api/v1/access/login/do_login",
method: "post"
},
phoneLogin: {
url: "/ydt/api/v1/access/login/do_login",
method: "post"
},
//获取标准码
getCodeList: {
url: "/api/v1/config/code/get_codes_list",
......@@ -46,6 +50,11 @@ const params = {
url: "/api/v1/access/login/send_validate_code",
method: "post"
},
//获取验证码 不关注用途
getCode: {
url: "/api/v1/access/login/send_validate_code",
method: "post"
},
//获取省市区
getAreaList: {
url: "/api/v1/base/area/get_area_box_list",
......
......@@ -52,10 +52,10 @@
})
return
}
Api.sendCode({
Api.getCode({
data: {
"phone": this.phone,
"usage_code": "1",
// "usage_code": "1",
"template_no": "industry-0001",
"system_no": this.$config.systemCode
},
......@@ -108,7 +108,7 @@
uni.showLoading({
title: "登录中..."
})
Api.login({
Api.phoneLogin({
data: {
"phone": this.phone,
"code": this.code,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
Please register or to comment