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
de09a0ee
Commit
de09a0ee
authored
Apr 03, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
有奖赛首页
parent
824993b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+5
-1
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+1
-1
jiang.html
app/Tpl/Vip/Index/jiang.html
+1
-1
No files found.
app/Lib/Action/Vip/IndexAction.class.php
View file @
de09a0ee
...
...
@@ -445,7 +445,11 @@ class IndexAction extends IdentityAction {
// echo $ucData['user_id'];exit;
$joinRes
=
D
(
'Group'
)
->
uc_join_group
(
array
(
'userId'
=>
$ucData
[
'user_id'
],
'userName'
=>
$ucData
[
'user_name'
],
'groupId'
=>
$groupId
,
'grade'
=>
0
,
'teamId'
=>
$groupId
));
//钱包
$wallet
=
M
(
'Wallet'
)
->
where
([
'user_id'
=>
$userId
])
->
find
();
if
(
empty
(
$wallet
)){
M
(
'Wallet'
)
->
add
([
'user_id'
=>
$ucData
[
'user_id'
],
'user_name'
=>
$ucData
[
'user_name'
],
'add_time'
=>
time
()]);
}
//用户未加入大赛或已加入,但不在cofool_allex_user表,需要添加
if
(
$joinRes
[
'status'
]
==
0
||
$joinRes
[
'joinStatus'
]
==
1
){
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
de09a0ee
...
...
@@ -619,8 +619,8 @@ 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
()]);
...
...
app/Tpl/Vip/Index/jiang.html
View file @
de09a0ee
...
...
@@ -29,7 +29,7 @@
<div
class=
"data-top"
>
<table
cellpadding=
"0"
cellspacing=
"0"
>
<tr
class=
"num-tr"
>
<td
class=
"first-d"
>
140
00
</td>
<td
class=
"first-d"
>
78
00
</td>
<empty
name=
"wallet"
>
<td
class=
"second-d no"
>
钱包未开启
</td>
<else/>
...
...
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