Commit b15b436ed2fff5eade73aa3d07de2df31cb4431e

Authored by teemitop
1 parent 3aeb7672

主动更新 当请求为空时 返回msg

@@ -40,7 +40,7 @@ class Api{ @@ -40,7 +40,7 @@ class Api{
40 40
41 $result['ret'] = 0; 41 $result['ret'] = 0;
42 $result['data'] = ''; 42 $result['data'] = '';
43 - $result['msg'] = 'fail'; 43 + $result['msg'] = '当前已是最新版本';
44 44
45 return json_encode($result); 45 return json_encode($result);
46 } 46 }
@@ -58,7 +58,7 @@ class Api{ @@ -58,7 +58,7 @@ class Api{
58 }else{ 58 }else{
59 $result['ret'] = 0; 59 $result['ret'] = 0;
60 $result['data'] = ''; 60 $result['data'] = '';
61 - $result['msg'] = 'fail'; 61 + $result['msg'] = '当前已是最新版本';
62 return json_encode($result); 62 return json_encode($result);
63 } 63 }
64 //非灰度用户 64 //非灰度用户