Commit dc4136c4 by 王召彬

token里添加万人万店标识

parent f7dd3d0b
# 2.0.28
- token里添加万人万店标识
# 2.0.27 # 2.0.27
- 公众号通知跳转url - 公众号通知跳转url
......
...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment