Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
569879e8
提交
569879e8
authored
2月 02, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
快捷登录直接注册
父级
9d945799
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
12 行增加
和
3 行删除
+12
-3
api/api.js
+9
-0
pages/user/phoneLogin/phoneLogin.vue
+3
-3
没有找到文件。
api/api.js
View file @
569879e8
...
@@ -37,6 +37,10 @@ const params = {
...
@@ -37,6 +37,10 @@ const params = {
url
:
"/api/v1/access/login/do_login"
,
url
:
"/api/v1/access/login/do_login"
,
method
:
"post"
method
:
"post"
},
},
phoneLogin
:
{
url
:
"/ydt/api/v1/access/login/do_login"
,
method
:
"post"
},
//获取标准码
//获取标准码
getCodeList
:
{
getCodeList
:
{
url
:
"/api/v1/config/code/get_codes_list"
,
url
:
"/api/v1/config/code/get_codes_list"
,
...
@@ -46,6 +50,11 @@ const params = {
...
@@ -46,6 +50,11 @@ const params = {
url
:
"/api/v1/access/login/send_validate_code"
,
url
:
"/api/v1/access/login/send_validate_code"
,
method
:
"post"
method
:
"post"
},
},
//获取验证码 不关注用途
getCode
:
{
url
:
"/api/v1/access/login/send_validate_code"
,
method
:
"post"
},
//获取省市区
//获取省市区
getAreaList
:
{
getAreaList
:
{
url
:
"/api/v1/base/area/get_area_box_list"
,
url
:
"/api/v1/base/area/get_area_box_list"
,
...
...
pages/user/phoneLogin/phoneLogin.vue
View file @
569879e8
...
@@ -52,10 +52,10 @@
...
@@ -52,10 +52,10 @@
})
})
return
return
}
}
Api
.
send
Code
({
Api
.
get
Code
({
data
:
{
data
:
{
"phone"
:
this
.
phone
,
"phone"
:
this
.
phone
,
"usage_code"
:
"1"
,
//
"usage_code": "1",
"template_no"
:
"industry-0001"
,
"template_no"
:
"industry-0001"
,
"system_no"
:
this
.
$config
.
systemCode
"system_no"
:
this
.
$config
.
systemCode
},
},
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"登录中..."
title
:
"登录中..."
})
})
Api
.
l
ogin
({
Api
.
phoneL
ogin
({
data
:
{
data
:
{
"phone"
:
this
.
phone
,
"phone"
:
this
.
phone
,
"code"
:
this
.
code
,
"code"
:
this
.
code
,
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment