...
|
...
|
@@ -4,6 +4,7 @@ namespace LibModels\Wap\Passport; |
|
|
|
|
|
use Api\Sign;
|
|
|
use Api\Yohobuy;
|
|
|
use Plugin\Helpers;
|
|
|
|
|
|
/**
|
|
|
* 绑定手机号 数据模型
|
...
|
...
|
@@ -28,7 +29,7 @@ class BindData |
|
|
*/
|
|
|
public static function bindCheck($mobile, $openId, $sourceType, $area)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.passport.signCheck';
|
|
|
$param['area'] = $area;
|
|
|
$param['mobile'] = $mobile;
|
...
|
...
|
@@ -85,6 +86,9 @@ class BindData |
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
|
|
|
if(Helpers::is_weixin()) {
|
|
|
$param['client_type'] = 'wechat';
|
|
|
}
|
|
|
$param['method'] = 'app.passport.bind';
|
|
|
$param['mobile'] = $mobile;
|
|
|
$param['open_id'] = $openId;
|
...
|
...
|
|