Commit a48ae78048e7656c99d5abd812da9ef3b3bc12b4

Authored by u123231312
1 parent bbb354d2

no message

@@ -164,12 +164,12 @@ class Template extends Common{ @@ -164,12 +164,12 @@ class Template extends Common{
164 $flag = intval(input('post.flag')); 164 $flag = intval(input('post.flag'));
165 if($num<=0){ 165 if($num<=0){
166 $result['msg'] = '请输入正整数!'; 166 $result['msg'] = '请输入正整数!';
167 - $result['status'] = 0; 167 + $result['code'] = 0;
168 return $result; 168 return $result;
169 } 169 }
170 if($flag<0 || $flag >2){ 170 if($flag<0 || $flag >2){
171 $result['msg'] = '请输入1或者2或者不输入!'; 171 $result['msg'] = '请输入1或者2或者不输入!';
172 - $result['status'] = 0; 172 + $result['code'] = 0;
173 return $result; 173 return $result;
174 } 174 }
175 //调用API 175 //调用API