|
@@ -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;
|