Showing
1 changed file
with
2 additions
and
2 deletions
@@ -127,11 +127,11 @@ class BackData | @@ -127,11 +127,11 @@ class BackData | ||
127 | public static function checkEmailCode($code) | 127 | public static function checkEmailCode($code) |
128 | { | 128 | { |
129 | $param = Yohobuy::param(); | 129 | $param = Yohobuy::param(); |
130 | - $param['method'] = 'app.register.checkCodeValid'; | 130 | + $param['method'] = 'web.passport.checkCodeValid'; |
131 | $param['code'] = $code; | 131 | $param['code'] = $code; |
132 | $param['client_secret'] = Sign::getSign($param); | 132 | $param['client_secret'] = Sign::getSign($param); |
133 | 133 | ||
134 | - return Yohobuy::get(Yohobuy::API_URL, $param, 3600); // 缓存1小时 | 134 | + return Yohobuy::get(Yohobuy::API_URL, $param); |
135 | } | 135 | } |
136 | 136 | ||
137 | /** | 137 | /** |
-
Please register or login to post a comment