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
7219ebb6
Commit
7219ebb6
authored
Dec 29, 2023
by
蒋政义
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动报名
parent
baa8e5f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+3
-0
index.html
app/Tpl/Vip/PkTop/index.html
+4
-2
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
7219ebb6
...
@@ -1077,6 +1077,9 @@ class PkTopAction extends IdentityAction{
...
@@ -1077,6 +1077,9 @@ class PkTopAction extends IdentityAction{
if
(
in_array
(
$groupId
,
$ids
))
{
if
(
in_array
(
$groupId
,
$ids
))
{
$this
->
assign
(
'joinStatus'
,
1
);
$this
->
assign
(
'joinStatus'
,
1
);
}
}
if
(
!
in_array
(
$groupId
,
$ids
)){
$this
->
assign
(
'is_auto_join'
,
I
(
'aid'
)
?
1
:
0
);
}
//滚动消息,1pk付款,2发起pk,3pk胜利,4pk失败,5胜利退钱,6失败钱归passive,7买重置卡
//滚动消息,1pk付款,2发起pk,3pk胜利,4pk失败,5胜利退钱,6失败钱归passive,7买重置卡
// $msg1 = M('PktopNews')->where(['type' => ['in', '2']])->order('add_time desc')->limit(5)->select();
// $msg1 = M('PktopNews')->where(['type' => ['in', '2']])->order('add_time desc')->limit(5)->select();
...
...
app/Tpl/Vip/PkTop/index.html
View file @
7219ebb6
...
@@ -360,8 +360,10 @@
...
@@ -360,8 +360,10 @@
}
}
//自动报名
if
(
"{$is_auto_join}"
==
1
){
$
(
".baoming"
).
click
();
}
});
});
</script>
</script>
...
...
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