Showing
1 changed file
with
3 additions
and
2 deletions
@@ -26,7 +26,7 @@ class UserData | @@ -26,7 +26,7 @@ class UserData | ||
26 | public static function userData($uid) | 26 | public static function userData($uid) |
27 | { | 27 | { |
28 | $param = array(); | 28 | $param = array(); |
29 | - $param['uid'] = 10064; | 29 | + $param['uid'] = $uid; |
30 | 30 | ||
31 | return Yohobuy::jsonPost(Yohobuy::API_URL_MYCENTER . 'ProfilesRest/getUserprofile', $param); | 31 | return Yohobuy::jsonPost(Yohobuy::API_URL_MYCENTER . 'ProfilesRest/getUserprofile', $param); |
32 | } | 32 | } |
@@ -232,6 +232,7 @@ class UserData | @@ -232,6 +232,7 @@ class UserData | ||
232 | */ | 232 | */ |
233 | public static function yohoCoinData($uid, $page = 1, $limit = 10) | 233 | public static function yohoCoinData($uid, $page = 1, $limit = 10) |
234 | { | 234 | { |
235 | + $param = array(); | ||
235 | $param['uid'] = $uid; | 236 | $param['uid'] = $uid; |
236 | /*$param['limit'] = 10; | 237 | /*$param['limit'] = 10; |
237 | $param['page'] = 1;*/ | 238 | $param['page'] = 1;*/ |
@@ -249,7 +250,7 @@ class UserData | @@ -249,7 +250,7 @@ class UserData | ||
249 | */ | 250 | */ |
250 | public static function couponData($uid, $status) | 251 | public static function couponData($uid, $status) |
251 | { | 252 | { |
252 | - $param = Yohobuy::param(); | 253 | + $param = array(); |
253 | $param['uid'] = $uid; | 254 | $param['uid'] = $uid; |
254 | $param['status'] = $status; | 255 | $param['status'] = $status; |
255 | 256 |
-
Please register or login to post a comment