Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-new-compaign
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-new-compaign
提交
6e2ba68d
提交
6e2ba68d
编写于
3月 09, 2020
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
获取短信和图形验证码
上级
206c6990
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
203 行增加
和
41 行删除
+203
-41
index.vue
components/header/index.vue
+22
-2
task-activity.vue
components/task-activity.vue
+3
-0
index.vue
pages/index.vue
+18
-3
index.vue
pages/login-point/index.vue
+72
-8
point-result.vue
pages/login-point/point-result.vue
+46
-27
vue-inject.js
plugins/vue-inject.js
+24
-1
index.js
service/index.js
+18
-0
point-award-new.png
static/images/point-award-new.png
+0
-0
result-bg.png
static/images/result-bg.png
+0
-0
未找到文件。
components/header/index.vue
浏览文件 @
6e2ba68d
...
@@ -49,6 +49,26 @@ export default {
...
@@ -49,6 +49,26 @@ export default {
isShowRightIcon
:
{
isShowRightIcon
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
tempId
:
{
type
:
String
|
Number
,
default
:
''
},
userId
:
{
type
:
String
|
Number
,
default
:
''
},
userName
:
{
type
:
String
,
default
:
''
},
avatarl
:
{
type
:
String
,
default
:
''
},
taskId
:
{
type
:
String
|
Number
,
default
:
7
}
}
},
},
computed
:
{
computed
:
{
...
@@ -74,9 +94,9 @@ export default {
...
@@ -74,9 +94,9 @@ export default {
share
()
{
share
()
{
let
shareUrl
=
''
;
let
shareUrl
=
''
;
const
{
NUXT_ENV_APP
}
=
process
.
env
;
const
{
NUXT_ENV_APP
}
=
process
.
env
;
const
{
tempId
,
token
,
shareTitle1
,
shareTitle2
,
shareIconUrl
}
=
this
;
const
{
tempId
,
t
askId
,
userName
,
userId
,
avatarl
,
t
oken
,
shareTitle1
,
shareTitle2
,
shareIconUrl
}
=
this
;
//shareUrl = ENV_CONFIG[NUXT_ENV_APP]['shareUrl'] + '/compaign_ssr/?id=' + tempId + '&token=' + token;
//shareUrl = ENV_CONFIG[NUXT_ENV_APP]['shareUrl'] + '/compaign_ssr/?id=' + tempId + '&token=' + token;
shareUrl
=
'http://10.177.10.217:3000/compaign_ssr/login-point?id='
+
tempId
+
'&token='
+
token
;
shareUrl
=
`http://10.177.10.217:3000/compaign_ssr/login-point?activityId=
${
tempId
}
&taskId=
${
taskId
}
&id=
${
userId
}
&name=
${
userName
}
&avatar=
${
avatarl
}
`
;
// const { id } = this.$route.query;
// const { id } = this.$route.query;
// this.$sendBuriedData({
// this.$sendBuriedData({
...
...
components/task-activity.vue
浏览文件 @
6e2ba68d
...
@@ -141,6 +141,9 @@ export default {
...
@@ -141,6 +141,9 @@ export default {
if
(
this
.
taskList
[
i
].
resourceType
==
7
&&
this
.
taskList
[
i
].
resourceId
==
2
)
{
if
(
this
.
taskList
[
i
].
resourceType
==
7
&&
this
.
taskList
[
i
].
resourceId
==
2
)
{
this
.
taskList
.
splice
(
i
,
1
);
this
.
taskList
.
splice
(
i
,
1
);
}
}
if
(
this
.
taskList
[
i
].
resourceType
==
7
&&
this
.
taskList
[
i
].
resourceId
==
1
)
{
this
.
$emit
(
'getTaskId'
,{
taskId
:
this
.
taskList
[
i
].
id
});
}
}
}
}
}
})
})
...
...
pages/index.vue
浏览文件 @
6e2ba68d
...
@@ -8,6 +8,11 @@
...
@@ -8,6 +8,11 @@
:share-title2=
"shareTitle2"
:share-title2=
"shareTitle2"
:share-icon-url=
"shareIconUrl"
:share-icon-url=
"shareIconUrl"
:isShowRightIcon=
"isShowRightIcon"
:isShowRightIcon=
"isShowRightIcon"
:tempId=
"activityId"
:userName=
"userName"
:userId=
"userId"
:avatarl=
"myAvatarl"
:taskId=
"taskId"
/>
/>
<!-- 顶部 -->
<!-- 顶部 -->
<div
class=
"top-container"
>
<div
class=
"top-container"
>
...
@@ -49,7 +54,8 @@
...
@@ -49,7 +54,8 @@
:acToken=
"token"
:acToken=
"token"
:userMobile=
"userMobile"
:userMobile=
"userMobile"
:acTempId=
"activityId"
:acTempId=
"activityId"
@
activityTaskJump=
"activityTaskJump"
/>
@
activityTaskJump=
"activityTaskJump"
@
getTaskId=
"getTaskId"
/>
</div>
</div>
<div
class=
"step bt"
>
<div
class=
"step bt"
>
<step
<step
...
@@ -117,7 +123,10 @@ export default {
...
@@ -117,7 +123,10 @@ export default {
stepTime3
:
'4月3日10:00-4月7日16:00'
,
stepTime3
:
'4月3日10:00-4月7日16:00'
,
maxValue
:
200
,
maxValue
:
200
,
myAvatarl
:
''
,
myAvatarl
:
''
,
myScore
:
0
myScore
:
0
,
userId
:
''
,
userName
:
''
,
taskId
:
''
}
}
},
},
async
asyncData
({
$axios
})
{
async
asyncData
({
$axios
})
{
...
@@ -166,6 +175,8 @@ export default {
...
@@ -166,6 +175,8 @@ export default {
getSelfAllScore
({
id
:
this
.
activityId
,
token
:
this
.
token
}).
then
(
res
=>
{
getSelfAllScore
({
id
:
this
.
activityId
,
token
:
this
.
token
}).
then
(
res
=>
{
_this
.
myAvatarl
=
res
.
data
.
avatarImageUrl
;
_this
.
myAvatarl
=
res
.
data
.
avatarImageUrl
;
_this
.
myScore
=
res
.
data
.
totalScore
;
_this
.
myScore
=
res
.
data
.
totalScore
;
_this
.
userId
=
res
.
data
.
id
;
_this
.
userName
=
res
.
data
.
name
;
})
})
},
},
// 查看活动规则
// 查看活动规则
...
@@ -190,6 +201,10 @@ export default {
...
@@ -190,6 +201,10 @@ export default {
};
};
this
.
$router
.
push
({
path
:
"/perdetails"
,
query
:
queryData
});
this
.
$router
.
push
({
path
:
"/perdetails"
,
query
:
queryData
});
},
},
// 获取任务id
getTaskId
(
data
)
{
this
.
taskId
=
data
.
taskId
;
},
// 活动任务
// 活动任务
activityTaskJump
(
data
)
{
activityTaskJump
(
data
)
{
if
(
data
.
resourceType
==
7
)
{
// 邀请好友点赞
if
(
data
.
resourceType
==
7
)
{
// 邀请好友点赞
...
@@ -197,7 +212,7 @@ export default {
...
@@ -197,7 +212,7 @@ export default {
const
{
NUXT_ENV_APP
}
=
process
.
env
;
const
{
NUXT_ENV_APP
}
=
process
.
env
;
const
{
tempId
,
token
,
shareTitle1
,
shareTitle2
,
shareIconUrl
}
=
this
;
const
{
tempId
,
token
,
shareTitle1
,
shareTitle2
,
shareIconUrl
}
=
this
;
//shareUrl = ENV_CONFIG[NUXT_ENV_APP]['shareUrl'] + '/compaign_ssr/?id=' + tempId + '&token=' + token;
//shareUrl = ENV_CONFIG[NUXT_ENV_APP]['shareUrl'] + '/compaign_ssr/?id=' + tempId + '&token=' + token;
shareUrl
=
'http://10.177.10.217:3000/compaign_ssr/login-point?id='
+
tempId
+
'&token='
+
token
;
shareUrl
=
`http://10.177.10.217:3000/compaign_ssr/login-point?activityId=
${
tempId
}
&taskId=
${
data
.
id
}
&id=
${
this
.
userId
}
&name=
${
this
.
userName
}
&avatar=
${
this
.
myAvatarl
}
`
;
this
.
$rocNative
.
shareWechat
({
this
.
$rocNative
.
shareWechat
({
type
:
6
,
type
:
6
,
shareId
:
0
,
shareId
:
0
,
...
...
pages/login-point/index.vue
浏览文件 @
6e2ba68d
<
template
>
<
template
>
<div
class=
"point-container"
>
<div
class=
"point-container"
>
<div
class=
"info-text"
>
<div
class=
"info-text"
>
<img
src=
"../../static/images/task-four.png
"
/>
<img
:src=
"avatarl
"
/>
<p
class=
"info-name"
>
某某
邀请您助力 为他点赞
</p>
<p
class=
"info-name"
>
{{
userName
}}
邀请您助力 为他点赞
</p>
<p
class=
"info-award"
>
做任务瓜分500万云鹊豆
</p>
<p
class=
"info-award"
>
做任务瓜分500万云鹊豆
</p>
</div>
</div>
<div
class=
"form-info"
>
<div
class=
"form-info"
>
...
@@ -21,36 +21,94 @@
...
@@ -21,36 +21,94 @@
<button
v-if=
"notSend"
@
click=
"sendSms"
>
{{
btnMsg
}}
</button>
<button
v-if=
"notSend"
@
click=
"sendSms"
>
{{
btnMsg
}}
</button>
<van-count-down
v-if=
"!notSend"
:time=
"time"
@
finish=
"finishCount"
:format=
"'ss' + 's'"
/>
<van-count-down
v-if=
"!notSend"
:time=
"time"
@
finish=
"finishCount"
:format=
"'ss' + 's'"
/>
</div>
</div>
<button
class=
"btn-post"
@
click=
"g
etCourse
"
>
登录点赞 助力好友
</button>
<button
class=
"btn-post"
@
click=
"g
otoPoint
"
>
登录点赞 助力好友
</button>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCaptchaGet
,
getAuthCode
}
from
'@/service'
;
const
TIMEALL
=
60000
;
// 倒计时常量 60 秒
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
notSend
:
true
,
notSend
:
true
,
regMobile
:
/^1
[
3456789
]\d{9}
$/
,
mobilePhone
:
''
,
mobilePhone
:
''
,
captchaAnswer
:
''
,
// 输入的图形验证码
captchaAnswer
:
''
,
// 输入的图形验证码
captchaImg
:
''
,
// 图形验证码图片字段
captchaImg
:
''
,
// 图形验证码图片字段
authCode
:
''
,
// 短信验证码
authCode
:
''
,
// 短信验证码
btnMsg
:
'点击获取'
,
btnMsg
:
'点击获取'
,
avatarl
:
''
,
userName
:
''
,
userId
:
''
,
taskId
:
''
,
activityId
:
''
,
captchaImg
:
''
,
captchaToken
:
''
,
flag
:
0
,
time
:
TIMEALL
}
}
},
},
created
()
{
this
.
activityId
=
this
.
$route
.
query
.
activityId
;
this
.
taskId
=
this
.
$route
.
query
.
taskId
;
this
.
userId
=
this
.
$route
.
query
.
id
;
this
.
userName
=
this
.
$route
.
query
.
userName
;
this
.
avatarl
=
this
.
$route
.
query
.
avatar
;
this
.
getCaptchaGet
();
},
methods
:
{
methods
:
{
// 点击刷新验证码
// 获取图形验证码
getCaptchaGet
()
{
getCaptchaGet
().
then
(
res
=>
{
if
(
res
.
code
===
'000000'
){
this
.
captchaImg
=
`data:image/png;base64,
${
res
.
data
.
content
}
`
;
this
.
captchaToken
=
res
.
data
.
token
;
}
});
},
// 点击刷新图形验证码
getCaptcha
(){
getCaptcha
(){
getCaptchaGet
().
then
(
res
=>
{
if
(
res
.
code
===
'000000'
){
this
.
captchaImg
=
`data:image/png;base64,
${
res
.
data
.
content
}
`
;
this
.
captchaToken
=
res
.
data
.
token
;
}
else
{
this
.
$toast
(
res
.
message
);
}
})
},
},
// 发送获取短信验证码
// 发送获取短信验证码
sendSms
(){
sendSms
(){
const
{
regMobile
,
mobilePhone
,
flag
,
captchaToken
,
captchaAnswer
}
=
this
;
const
mobileTrue
=
regMobile
.
test
(
mobilePhone
);
if
(
!
mobileTrue
){
this
.
$toast
(
'请输入正确的手机号'
);
return
;
}
// 校验图形验证码
if
(
this
.
captchaAnswer
==
''
){
this
.
$toast
(
'请输入图形验证码'
);
return
;
}
getAuthCode
({
mobilePhone
,
flag
,
captchaToken
,
captchaAnswer
}).
then
(
res
=>
{
// 发送成功
if
(
res
.
code
===
'000000'
){
this
.
notSend
=
false
;
}
else
{
this
.
$toast
(
res
.
message
);
this
.
getCaptcha
();
}
})
},
},
// 倒计时结束
// 倒计时结束
finishCount
(){
finishCount
(){
this
.
time
=
TIMEALL
;
this
.
notSend
=
true
;
this
.
btnMsg
=
'重新获取'
;
},
},
g
etCourse
()
{
g
otoPoint
()
{
this
.
$router
.
push
({
path
:
"/login-point/point-result"
,
query
:
{}});
this
.
$router
.
push
({
path
:
"/login-point/point-result"
,
query
:
{}});
}
}
}
}
...
@@ -148,6 +206,9 @@ export default {
...
@@ -148,6 +206,9 @@ export default {
background: none;
background: none;
border: none;
border: none;
}
}
.num {
line-height: 45;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color:rgba(199,200,201,1);
color:rgba(199,200,201,1);
height: 40px;
height: 40px;
...
@@ -182,5 +243,8 @@ export default {
...
@@ -182,5 +243,8 @@ export default {
border: none;
border: none;
}
}
}
}
.van-count-down, .van-divider {
line-height: 45px !important;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
pages/login-point/point-result.vue
浏览文件 @
6e2ba68d
...
@@ -12,12 +12,12 @@
...
@@ -12,12 +12,12 @@
</div>
</div>
<div
class=
"point-award"
>
<div
class=
"point-award"
>
<div
v-if=
"status != 3"
class=
"award-con"
>
<div
v-if=
"status != 3"
class=
"award-con"
>
<
div>
达到100勤奋分,即有资格瓜分100W云鹊豆
</div
>
<
!--
<div>
达到100勤奋分,即有资格瓜分100W云鹊豆
</div>
--
>
<img
src=
"../../static/images/point-award.png"
/>
<img
src=
"../../static/images/point-award
-new
.png"
/>
</div>
</div>
</div>
</div>
<div
class=
"btn"
>
<div
class=
"btn"
>
<button
@
click=
"openApp"
>
打开APP
</button>
<button
@
click=
"openApp"
>
{{
btnText
}}
</button>
<button
@
click=
"downloadApp"
>
下载APP
</button>
<button
@
click=
"downloadApp"
>
下载APP
</button>
</div>
</div>
</div>
</div>
...
@@ -34,22 +34,39 @@ export default {
...
@@ -34,22 +34,39 @@ export default {
data
()
{
data
()
{
return
{
return
{
pointText1
:
""
,
pointText1
:
""
,
pointText2
:
""
pointText2
:
""
,
btnText
:
""
}
}
},
},
created
()
{
created
()
{
if
(
this
.
status
==
1
)
{
if
(
this
.
status
==
1
)
{
this
.
pointText1
=
"点赞成功,感谢您为TA拿下5勤奋分"
,
this
.
pointText1
=
"点赞成功,感谢您为TA拿下5勤奋分"
;
this
.
pointText2
=
"登陆云鹊医APP,您也可获得75勤奋分"
this
.
pointText2
=
"登陆云鹊医APP,您也可获得75勤奋分"
;
this
.
btnText
=
"打开APP参与瓜分云鹊豆"
;
}
else
if
(
this
.
status
==
2
)
{
}
else
if
(
this
.
status
==
2
)
{
this
.
pointText1
=
"点赞成功"
,
this
.
pointText1
=
"点赞成功"
;
this
.
pointText2
=
"登陆云鹊医APP,参加活动瓜分云鹊豆"
this
.
pointText2
=
"登陆云鹊医APP,参加活动瓜分云鹊豆"
;
this
.
btnText
=
"打开APP参与瓜分云鹊豆"
;
}
else
if
(
this
.
status
==
3
)
{
}
else
if
(
this
.
status
==
3
)
{
this
.
pointText1
=
"点赞成功,该活动已结束"
,
this
.
pointText1
=
"该活动已结束"
;
this
.
pointText2
=
"登陆云鹊医APP,查看更多精彩内容"
this
.
pointText2
=
"登陆云鹊医APP,查看更多精彩内容"
;
this
.
btnText
=
"打开APP"
;
}
else
if
(
this
.
status
=
4
)
{
}
else
if
(
this
.
status
=
4
)
{
this
.
pointText1
=
"抱歉!您的点赞次数已达3次上限!"
,
this
.
pointText1
=
"抱歉!您的点赞次数已达3次上限!"
;
this
.
pointText2
=
"登陆云鹊医APP,您也可获得75勤奋分"
this
.
pointText2
=
"登陆云鹊医APP,您也可获得75勤奋分"
;
this
.
btnText
=
"打开APP参与瓜分云鹊豆"
;
}
else
if
(
this
.
status
==
5
){
this
.
pointText1
=
"点赞成功"
;
this
.
pointText2
=
"登陆云鹊医APP,您也可获得75勤奋分"
;
this
.
btnText
=
"打开APP参与瓜分云鹊豆"
;
}
else
if
(
this
.
status
==
6
)
{
this
.
pointText1
=
"抱歉!您的点赞次数已达3次上限!"
;
this
.
pointText2
=
"登陆云鹊医APP,参加活动瓜分云鹊豆"
;
this
.
btnText
=
"打开APP参与瓜分云鹊豆"
;
}
else
{
this
.
pointText1
=
"点赞成功"
;
this
.
pointText2
=
"登陆云鹊医APP,参加活动瓜分云鹊豆"
;
this
.
btnText
=
"打开APP参与瓜分云鹊豆"
;
}
}
},
},
methods
:
{
methods
:
{
...
@@ -69,7 +86,7 @@ export default {
...
@@ -69,7 +86,7 @@ export default {
.point-bg {
.point-bg {
width: 100%;
width: 100%;
height: 100vh;
height: 100vh;
background-image:url('../../static/images/
background
.png');
background-image:url('../../static/images/
result-bg
.png');
background-size: 100% 100%;
background-size: 100% 100%;
}
}
.point-status {
.point-status {
...
@@ -94,16 +111,16 @@ export default {
...
@@ -94,16 +111,16 @@ export default {
}
}
.point-award {
.point-award {
.award-con {
.award-con {
background: #fff;
//
background: #fff;
border-radius: 20px 20px 0px 0px;
border-radius: 20px 20px 0px 0px;
padding: 0px 18px;
padding: 0px 18px;
div {
//
div {
padding: 14px;
//
padding: 14px;
font-size: 15px;
//
font-size: 15px;
color: #DD364F;
//
color: #DD364F;
text-align: center;
//
text-align: center;
font-weight: 700;
//
font-weight: 700;
}
//
}
img {
img {
width: 100%;
width: 100%;
}
}
...
@@ -111,7 +128,7 @@ export default {
...
@@ -111,7 +128,7 @@ export default {
}
}
.btn {
.btn {
text-align: center;
text-align: center;
background: #fff;
//
background: #fff;
padding: 40px 0px 91px;
padding: 40px 0px 91px;
margin-top: -1px;
margin-top: -1px;
button {
button {
...
@@ -119,18 +136,20 @@ export default {
...
@@ -119,18 +136,20 @@ export default {
width: 335px;
width: 335px;
height: 40px;
height: 40px;
border-radius: 23px;
border-radius: 23px;
background:
#fff
;
background:
none
;
color: gba(255,255,255,1);
color: gba(255,255,255,1);
font-size: 1
6
px;
font-size: 1
4
px;
border: none;
border: none;
font-weight: 700;
}
}
button:first-child {
button:first-child {
background:
linear-gradient(90deg,rgba(241,104,57,1) 0%,rgba(220,49,81,1)
100%);
background:
linear-gradient(180deg,#FFD4A7 0%,#FF6B24
100%);
color: #
fff
;
color: #
900822
;
margin-bottom: 12px;
margin-bottom: 12px;
}
}
button:last-child {
button:last-child {
border: 1PX solid rgba(230,77,69,1);
color: #fff;
border: 1px solid #fff;
}
}
}
}
}
}
...
...
plugins/vue-inject.js
浏览文件 @
6e2ba68d
...
@@ -3,7 +3,27 @@ import { BASE_URL } from '@/utils/enumerate';
...
@@ -3,7 +3,27 @@ import { BASE_URL } from '@/utils/enumerate';
import
rocNative
from
'@/utils/jsbridge'
;
import
rocNative
from
'@/utils/jsbridge'
;
import
WebBuriedPoint
,
{
sendBuriedData
}
from
'web-buried-point'
;
import
WebBuriedPoint
,
{
sendBuriedData
}
from
'web-buried-point'
;
import
{
callApp
}
from
'pica-call-app'
;
// H5唤起APP组件
import
{
callApp
}
from
'pica-call-app'
;
// H5唤起APP组件
import
VConsole
from
'vconsole/dist/vconsole.min.js'
import
VConsole
from
'vconsole/dist/vconsole.min.js'
;
import
{
CountDown
,
Field
,
Cell
,
CellGroup
,
Button
,
Dialog
,
Toast
,
Checkbox
,
Popup
,
CheckboxGroup
,
RadioGroup
,
Radio
,
Progress
,
ImagePreview
,
Uploader
,
Overlay
,
Loading
}
from
'vant'
;
const
{
name
}
=
require
(
'../package.json'
);
const
{
name
}
=
require
(
'../package.json'
);
const
cookies
=
require
(
'cookie-universal'
)();
const
cookies
=
require
(
'cookie-universal'
)();
...
@@ -20,6 +40,9 @@ Vue.prototype.$sendBuriedData = sendBuriedData;
...
@@ -20,6 +40,9 @@ Vue.prototype.$sendBuriedData = sendBuriedData;
Vue
.
prototype
.
$callApp
=
callApp
;
Vue
.
prototype
.
$callApp
=
callApp
;
// Vue.use(PicaCallApp);
// Vue.use(PicaCallApp);
Vue
.
use
(
CountDown
).
use
(
Field
).
use
(
Cell
).
use
(
CellGroup
).
use
(
Button
).
use
(
Popup
).
use
(
Checkbox
).
use
(
CheckboxGroup
).
use
(
RadioGroup
).
use
(
Radio
).
use
(
Progress
).
use
(
ImagePreview
).
use
(
Uploader
).
use
(
Overlay
).
use
(
Loading
);
Vue
.
use
(
Toast
)
Vue
.
use
(
Dialog
)
if
(
name
===
'nuxt_ssr'
)
throw
Error
(
'需要给当前项目起一个有意义的名称,多英文单词用 _ 拼接,不能有空格。修改文件:package.json (name)'
);
if
(
name
===
'nuxt_ssr'
)
throw
Error
(
'需要给当前项目起一个有意义的名称,多英文单词用 _ 拼接,不能有空格。修改文件:package.json (name)'
);
// Vue.use(WebBuriedPoint, {
// Vue.use(WebBuriedPoint, {
...
...
service/index.js
浏览文件 @
6e2ba68d
...
@@ -58,3 +58,21 @@ export const getSelfActivity = async (data) => {
...
@@ -58,3 +58,21 @@ export const getSelfActivity = async (data) => {
});
});
}
}
// 获取图形验证码
export
const
getCaptchaGet
=
async
()
=>
{
return
request
({
url
:
`account/account/captcha`
,
method
:
'get'
})
}
// 获取短信验证码
export
const
getAuthCode
=
({
mobilePhone
,
flag
,
captchaToken
,
captchaAnswer
})
=>
{
return
request
({
url
:
`account/account/authCode`
,
method
:
'get'
,
params
:
{
mobilePhone
,
flag
,
captchaToken
,
captchaAnswer
},
})
}
\ No newline at end of file
static/images/point-award-new.png
0 → 100644
浏览文件 @
6e2ba68d
144.1 KB
static/images/result-bg.png
0 → 100644
浏览文件 @
6e2ba68d
53.9 KB
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录