Showing
1 changed file
with
2 additions
and
1 deletions
@@ -76,10 +76,11 @@ class LoginData | @@ -76,10 +76,11 @@ class LoginData | ||
76 | $param['openId'] = $openId; | 76 | $param['openId'] = $openId; |
77 | $param['source_type'] = $sourceType; | 77 | $param['source_type'] = $sourceType; |
78 | $param['nickname'] = $nickname; | 78 | $param['nickname'] = $nickname; |
79 | - $param['client_secret'] = Sign::getSign($param); | ||
80 | if (!empty($shoppingKey)) { | 79 | if (!empty($shoppingKey)) { |
81 | $param['shopping_key'] = $shoppingKey; | 80 | $param['shopping_key'] = $shoppingKey; |
82 | } | 81 | } |
82 | + | ||
83 | + $param['client_secret'] = Sign::getSign($param); | ||
83 | 84 | ||
84 | return Yohobuy::get(Yohobuy::API_URL, $param); | 85 | return Yohobuy::get(Yohobuy::API_URL, $param); |
85 | } | 86 | } |
-
Please register or login to post a comment