...
|
...
|
@@ -127,11 +127,11 @@ class BackData |
|
|
public static function checkEmailCode($code)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.register.checkCodeValid';
|
|
|
$param['method'] = 'web.passport.checkCodeValid';
|
|
|
$param['code'] = $code;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param, 3600); // 缓存1小时
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|