Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
40fa4b07
authored
Mar 13, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整团购限时
parent
4837e834
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
app/Model/UserGroupModel.php
public/js/web/groupList.js
app/Model/UserGroupModel.php
View file @
40fa4b07
...
...
@@ -74,7 +74,7 @@ class UserGroupModel extends Model
foreach
(
$data
as
&
$v
)
{
// 若已参团,且非系统分配,则查询参团表
if
(
$v
[
'status'
]
==
1
&&
$v
[
'is_assign'
]
==
-
1
)
{
$join
=
$UserGroupJoinModel
->
where
(
'group_id'
,
$v
[
'id'
])
->
first
()
->
toArray
()
;
$join
=
$UserGroupJoinModel
->
where
(
'group_id'
,
$v
[
'id'
])
->
first
();
$v
[
'join_user_id'
]
=
$join
[
'user_id'
];
$v
[
'join_account'
]
=
$join
[
'account'
];
...
...
@@ -89,6 +89,7 @@ class UserGroupModel extends Model
$v
[
'join_time'
]
=
''
;
}
$v
[
'limited_time'
]
=
$v
[
'limited_time'
]
?
date
(
'Y-m-d H:i:s'
,
$v
[
'limited_time'
])
:
''
;
$v
[
'create_time'
]
=
date
(
'Y-m-d H:i:s'
,
$v
[
'create_time'
]);
}
...
...
public/js/web/groupList.js
View file @
40fa4b07
...
...
@@ -32,7 +32,7 @@ layui.use(['form', 'table', 'laydate'], function(){
,{
field
:
'join_order_id'
,
title
:
'参团订单ID'
,
width
:
120
}
,{
field
:
'join_order_sn'
,
title
:
'参团订单号'
,
width
:
150
}
,{
field
:
'join_time'
,
title
:
'参团时间'
,
width
:
180
}
,{
field
:
'limited_time'
,
title
:
'团购限时
(小时)'
,
width
:
20
0
}
,{
field
:
'limited_time'
,
title
:
'团购限时
时间'
,
width
:
18
0
}
,{
field
:
'create_time'
,
title
:
'创建时间'
,
width
:
180
}
]]
,
limit
:
10
...
...
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