|
@@ -5,7 +5,7 @@
|
|
|
* @Author: likang
|
|
|
* @Date: 2022-08-12 10:33:24
|
|
|
* @LastEditors: likang 1186820806@qq.com
|
|
|
- * @LastEditTime: 2023-02-20 13:49:38
|
|
|
+ * @LastEditTime: 2023-02-20 15:11:28
|
|
|
*/
|
|
|
|
|
|
|
|
@@ -88,14 +88,9 @@ class Api extends CatchController
|
|
|
if (json_last_error() != 0) {
|
|
|
json_fail('解析异常', json_last_error_msg());
|
|
|
}
|
|
|
-
|
|
|
- if($param["version"]=="1.1.1"){
|
|
|
- json_success("版本一致");
|
|
|
- }else{
|
|
|
- //当前更新的版本地址
|
|
|
$data["url"]="";
|
|
|
- json_fail("版本需要更新",$data);
|
|
|
- }
|
|
|
+ $data["version"]="1.0.0";
|
|
|
+ json_success("查询版本成功",$data);
|
|
|
}
|
|
|
|
|
|
|