|
@@ -130,9 +130,9 @@ class ForceSubscribeUsers extends Model
|
|
|
|
|
|
}
|
|
|
//
|
|
|
- static function forceSubscribeUsersByOpenidAndAppid($appid, $openid)
|
|
|
+ static function forceSubscribeUsersByUidAndAppid($appid, $uid)
|
|
|
{
|
|
|
- return self::where(['openid' => $openid, 'appid' => $appid,'is_subscribed' => 1])->first();
|
|
|
+ return self::where(['uid' => $uid, 'appid' => $appid,'is_subscribed' => 1])->first();
|
|
|
}
|
|
|
/**
|
|
|
* openid获取强关用户
|