Authored by Rock Zhang

目前获取有货币的两个接口已通

@@ -156,11 +156,11 @@ class UserData @@ -156,11 +156,11 @@ class UserData
156 public static function yohoCoinData($uid, $page = 1, $limit = 10) 156 public static function yohoCoinData($uid, $page = 1, $limit = 10)
157 { 157 {
158 $param['uid'] = $uid; 158 $param['uid'] = $uid;
159 - $param['limit'] = 10;  
160 - $param['page'] = 1; 159 + /*$param['limit'] = 10;
  160 + $param['page'] = 1;*/
161 161
162 // http://192.168.102.213:8080/yoho-users-web /YohoCoinLogRest/getYohoCoinLog 这个接口返回的有货币数组 162 // http://192.168.102.213:8080/yoho-users-web /YohoCoinLogRest/getYohoCoinLog 这个接口返回的有货币数组
163 - return Yohobuy::get(Yohobuy::API_URL_MYCENTER.'YohoCoinLogRest/getYohoCoinNum', $param); 163 + return Yohobuy::jsonPost(Yohobuy::API_URL_MYCENTER.'YohoCoinLogRest/getYohoCoinNum', $param);
164 } 164 }
165 165
166 /** 166 /**