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
b15d90d9
Commit
b15d90d9
authored
Nov 15, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
e409e47d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ShareShop.php
application/index/controller/ShareShop.php
+3
-1
UserService.php
application/index/service/UserService.php
+2
-0
No files found.
application/index/controller/ShareShop.php
View file @
b15d90d9
...
...
@@ -57,7 +57,9 @@ class ShareShop extends Basic
];*/
$params
[
'is_user'
]
=
$is_user
;
//dump($params);
Log
::
write
(
$params
,
'shareShop'
);
//记录日志
Log
::
write
(
$code
,
'18112347151'
);
//记录日志
Log
::
write
(
$open_id
,
'18112347151'
);
//记录日志
Log
::
write
(
$params
,
'18112347151'
);
//记录日志
$this
->
assign
(
'data'
,
json_encode
(
$params
));
return
view
(
"share_detail"
);
...
...
application/index/service/UserService.php
View file @
b15d90d9
...
...
@@ -16,6 +16,7 @@ use app\model\AAgents;
use
app\model\GOperatingRecords
;
use
app\model\Users
;
use
app\task\controller\ResultsSummaryNewTask
;
use
think\Log
;
class
UserService
{
...
...
@@ -449,6 +450,7 @@ class UserService
$param
[
'wx_open_id'
]
=
$open_id
;
$fields
=
'a.user_phone'
;
$result
=
$this
->
user
->
getUserInfoByOpenId
(
$param
,
$fields
);
Log
::
write
(
$result
,
'18112347151'
);
//记录日志
if
(
$result
)
{
return
true
;
...
...
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