Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
d666d5bb
Commit
d666d5bb
authored
Jul 04, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
store_name
parent
cb18715f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
PayLogOpen.php
application/index/controller/PayLogOpen.php
+5
-0
No files found.
application/index/controller/PayLogOpen.php
View file @
d666d5bb
...
@@ -18,6 +18,7 @@ use app\model\OImg;
...
@@ -18,6 +18,7 @@ use app\model\OImg;
use
app\model\OPayLogModel
;
use
app\model\OPayLogModel
;
use
app\model\OPayLogOpen
;
use
app\model\OPayLogOpen
;
use
app\model\OPayLogOpenLog
;
use
app\model\OPayLogOpenLog
;
use
app\model\AStore
;
use
think\Request
;
use
think\Request
;
class
PayLogOpen
extends
Basic
class
PayLogOpen
extends
Basic
...
@@ -172,6 +173,7 @@ class PayLogOpen extends Basic
...
@@ -172,6 +173,7 @@ class PayLogOpen extends Basic
if
(
$this
->
params
[
'excel'
]
==
0
)
{
if
(
$this
->
params
[
'excel'
]
==
0
)
{
$m_pay
=
new
OPayLogModel
();
$m_pay
=
new
OPayLogModel
();
$m_store
=
new
AStore
();
foreach
(
$list
as
$k
=>
$v
)
{
foreach
(
$list
as
$k
=>
$v
)
{
$log_where
[
'open_id'
]
=
$v
[
'id'
];
$log_where
[
'open_id'
]
=
$v
[
'id'
];
$log_where
[
'is_del'
]
=
0
;
$log_where
[
'is_del'
]
=
0
;
...
@@ -192,9 +194,12 @@ class PayLogOpen extends Basic
...
@@ -192,9 +194,12 @@ class PayLogOpen extends Basic
if
(
$pay_data
)
{
if
(
$pay_data
)
{
$list
[
$k
][
'daily_date'
]
=
date
(
'Y-m-d'
,
strtotime
(
$pay_data
[
'create_time'
]));
$list
[
$k
][
'daily_date'
]
=
date
(
'Y-m-d'
,
strtotime
(
$pay_data
[
'create_time'
]));
$list
[
$k
][
'store_id'
]
=
$pay_data
[
'report_store_id'
];
$list
[
$k
][
'store_id'
]
=
$pay_data
[
'report_store_id'
];
$list
[
$k
][
'store_name'
]
=
$m_store
->
getStoreKeyById
(
'store_name'
,
[
'id'
=>
$pay_data
[
'report_store_id'
]]);
}
else
{
}
else
{
$list
[
$k
][
'daily_date'
]
=
''
;
$list
[
$k
][
'daily_date'
]
=
''
;
$list
[
$k
][
'store_id'
]
=
''
;
$list
[
$k
][
'store_id'
]
=
''
;
$list
[
$k
][
'store_name'
]
=
''
;
}
}
}
}
$data
[
'list'
]
=
$list
;
$data
[
'list'
]
=
$list
;
...
...
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