|
@@ -17,19 +17,19 @@ class bonusControl extends mobileMemberExControl
|
|
|
public function bonus_listOp()
|
|
|
{
|
|
|
// 检验token
|
|
|
- $token = $_GET['key'];
|
|
|
+ // $token = $_GET['key'];
|
|
|
|
|
|
- if (empty($token)) {
|
|
|
- return joutput_error(errcode::ErrInputParam, '输入参数有误');
|
|
|
- }
|
|
|
+ // if (empty($token)) {
|
|
|
+ // return joutput_error(errcode::ErrInputParam, '输入参数有误');
|
|
|
+ // }
|
|
|
|
|
|
- if ($this->checkToken($token) != errcode::Success) {
|
|
|
- return joutput_error($this->err_code, errcode::msg($this->err_code));
|
|
|
- }
|
|
|
+ // if ($this->checkToken($token) != errcode::Success) {
|
|
|
+ // return joutput_error($this->err_code, errcode::msg($this->err_code));
|
|
|
+ // }
|
|
|
|
|
|
// 根据token获取用户ID
|
|
|
$condition['user_id'] = $this->member_info['member_id'];
|
|
|
- //$condition['user_id'] = 36552;
|
|
|
+ $condition['user_id'] = 36455;
|
|
|
|
|
|
if (!empty($condition['user_id'])) {
|
|
|
|