Authored by xiaowei

绑定手机号

@@ -138,7 +138,7 @@ class BindController extends AbstractAction @@ -138,7 +138,7 @@ class BindController extends AbstractAction
138 } 138 }
139 else 139 else
140 { 140 {
141 - $data = array('code' => $res['code'], 'message' => $res['message'], 'data' => $res['data']); 141 + $data = array('code' => $res['code'], 'message' => $res['message'], 'data' => isset($res['data'])?$res['data']:'');
142 } 142 }
143 } 143 }
144 while (false); 144 while (false);