Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
houdong
cof_vip
Commits
03a72b0b
Commit
03a72b0b
authored
Mar 31, 2023
by
wangjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
be5d3f54
c6ec6e19
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+8
-0
index.html
app/Tpl/Vip/PkTop/index.html
+4
-0
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
03a72b0b
...
...
@@ -16,6 +16,7 @@ class PkTopAction extends IdentityAction{
//首页
public
function
index
()
{
//首页的排行榜等切换
if
(
!
I
(
'viewPage'
)){
header
(
'location:'
.
M_URL
.
'/Match/jiang'
);
exit
;
...
...
@@ -618,6 +619,13 @@ class PkTopAction extends IdentityAction{
M
(
'userinfo'
,
" "
,
C
(
'DB_CONFIG_MNCG3'
))
->
add
(
$initData
);
}
D
(
'Sms'
)
->
send
([
'mobile'
=>
$mobile
,
'content'
=>
$bmContent
,
'type'
=>
46
],
true
,
true
);
//钱包
$wallet
=
M
(
'Wallet'
)
->
where
([
'user_id'
=>
$userId
])
->
find
();
if
(
empty
(
$wallet
)){
M
(
'Wallet'
)
->
add
([
'user_id'
=>
$userId
,
'user_name'
=>
$userName
,
'add_time'
=>
time
()]);
}
return
array
(
'status'
=>
1
,
'info'
=>
'参赛成功'
,
'debug'
=>
$userId
);
...
...
app/Tpl/Vip/PkTop/index.html
View file @
03a72b0b
...
...
@@ -769,6 +769,10 @@
return
false
;
});
//自动点击报名按钮
if
(
'{$_GET.clickFlag}'
==
1
){
$
(
".baoming"
).
click
();
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment