Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
dc4136c4
Commit
dc4136c4
authored
Oct 12, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token里添加万人万店标识
parent
f7dd3d0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
UPGRADE_2.x.md
+3
-0
src/Common/Entity/User.php
+13
-0
No files found.
UPGRADE_2.x.md
View file @
dc4136c4
# 2.0.28
-
token里添加万人万店标识
# 2.0.27
# 2.0.27
-
公众号通知跳转url
-
公众号通知跳转url
...
...
src/Common/Entity/User.php
View file @
dc4136c4
...
@@ -197,6 +197,19 @@ class User
...
@@ -197,6 +197,19 @@ class User
return
false
;
return
false
;
}
}
/**
* 是否是通过“万人万店”的小程序授权
*
* @return boolean 如果是 返回true
*/
public
function
isWrwd
()
{
$wrwd
=
$this
->
getValue
(
'isWrwd'
);
if
(
$wrwd
==
1
)
{
return
true
;
}
return
false
;
}
public
function
initUser
(
$token
)
public
function
initUser
(
$token
)
{
{
...
...
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