Authored by yangyang

小修改

@@ -115,7 +115,7 @@ class IndexController extends WebAction @@ -115,7 +115,7 @@ class IndexController extends WebAction
115 return; 115 return;
116 } 116 }
117 $result = array( 117 $result = array(
118 - 'code' => '400', 118 + 'code' => 400,
119 'message' => 'operation failed' 119 'message' => 'operation failed'
120 ); 120 );
121 $uid = $this->getUid(); 121 $uid = $this->getUid();
@@ -123,7 +123,7 @@ class IndexController extends WebAction @@ -123,7 +123,7 @@ class IndexController extends WebAction
123 do{ 123 do{
124 if (!$uid) { 124 if (!$uid) {
125 $result = array( 125 $result = array(
126 - 'code' => '403', 126 + 'code' => 403,
127 'message' => 'uid is null' 127 'message' => 'uid is null'
128 ); 128 );
129 break; 129 break;
@@ -158,7 +158,7 @@ class ListController extends WebAction @@ -158,7 +158,7 @@ class ListController extends WebAction
158 do { 158 do {
159 if (!$uid) { 159 if (!$uid) {
160 $result = array( 160 $result = array(
161 - 'code' => '403', 161 + 'code' => 403,
162 'message' => 'uid is null' 162 'message' => 'uid is null'
163 ); 163 );
164 break; 164 break;