diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index 4c9a517b4..bc0453e85 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -672,8 +672,14 @@ class SsgController extends BaseController { // 获取授权码 $list = $ipa365->ticketList(array( 'token' => $token, + 'status'=>0,//未使用是0 'limit' => $i, )); // @todo: 并发授权码已分配的情况 + if($list['errno'] != 0){ + $this->assign("error","超级签获取失败~{$list['errmsg']}"); + $this->display('blank'); + exit(); + } $code = $list['data']['list'][$i-1]['code']; if($code){ $codeExists = M('game_supersign', 'tab_')->field('id')->where(array(