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
74b1a941
Commit
74b1a941
authored
Dec 14, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
国元证券
parent
09245a5a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
config.php
app/Conf/config.php
+1
-1
NiuModel.class.php
app/Lib/Model/NiuModel.class.php
+6
-2
No files found.
app/Conf/config.php
View file @
74b1a941
...
@@ -42,7 +42,7 @@ define('NIU_STRONG_ID',24323);
...
@@ -42,7 +42,7 @@ define('NIU_STRONG_ID',24323);
define
(
'NIU_SAN_ID'
,
24326
);
define
(
'NIU_SAN_ID'
,
24326
);
define
(
'NIU_BAI_ID'
,
24327
);
define
(
'NIU_BAI_ID'
,
24327
);
define
(
'HUAXI_ID'
,
24328
);
define
(
'HUAXI_ID'
,
24328
);
define
(
'GUOYUAN_ID'
,
24329
);
return
array
(
return
array
(
'LOG_RECORD'
=>
true
,
// 默认不记录日志
'LOG_RECORD'
=>
true
,
// 默认不记录日志
...
...
app/Lib/Model/NiuModel.class.php
View file @
74b1a941
...
@@ -6,8 +6,12 @@ class NiuModel extends Model{
...
@@ -6,8 +6,12 @@ class NiuModel extends Model{
$STATUS_TXT
=
array
(
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
);
$STATUS_TXT
=
array
(
'1'
=>
'未开赛'
,
'2'
=>
'进行中'
,
'3'
=>
'已结束'
);
$ids
=
D
(
'Group'
)
->
getGroupCache
(
$userId
);
$ids
=
D
(
'Group'
)
->
getGroupCache
(
$userId
);
$MAP
=
[
ZHONGJIN_GROUP
=>
[
WWW_URL
.
'/Zjds'
,
1
],
PRIZE_GROUP_2021
=>
[
'/'
,
8
],
M2M_GROUP
=>
[
M_URL
.
'/M2m'
,
3
],
NIU_BAI_ID
=>
[
M_URL
.
'/Niubai'
,
4
],
$MAP
=
[
ZHONGJIN_GROUP
=>
[
NIU_SAN_ID
=>
[
M_URL
.
'/Niusan'
,
5
],
NIU_STRONG_ID
=>
[
M_URL
.
'/Strong'
,
6
],
HUAXI_ID
=>
[
M_URL
.
'/Huaxi'
,
7
]];
WWW_URL
.
'/Zjds'
,
1
],
PRIZE_GROUP_2021
=>
[
'/'
,
20
],
M2M_GROUP
=>
[
M_URL
.
'/M2m'
,
3
],
NIU_BAI_ID
=>
[
M_URL
.
'/Niubai'
,
4
],
NIU_SAN_ID
=>
[
M_URL
.
'/Niusan'
,
5
],
NIU_STRONG_ID
=>
[
M_URL
.
'/Strong'
,
6
],
HUAXI_ID
=>
[
M_URL
.
'/Huaxi'
,
7
],
GUOYUAN_ID
=>
[
M_URL
.
'/Guoyuan'
,
8
]];
// $MAP=[ZHONGJIN_GROUP=>[WWW_URL.'/Zjds',1],PRIZE_GROUP_2021=>['/',8],M2M_GROUP=>[M_URL.'/M2m',3],NIU_BAI_ID=>[M_URL.'/Niubai',4],
// NIU_SAN_ID=>[M_URL.'/Niusan',5],NIU_STRONG_ID=>[M_URL.'/Strong',6]];
$where
=
[
'a.group_id'
=>
[
'in'
,
array_keys
(
$MAP
)]];
$where
=
[
'a.group_id'
=>
[
'in'
,
array_keys
(
$MAP
)]];
$gList
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
$gList
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
...
...
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