客户端传参0原包 不提示更新 source_version程序版本号

master
tpingzhang 5 years ago
parent b648d754d8
commit c07369aaf9

@ -2352,6 +2352,7 @@ class UserController extends BaseController
echo base64_encode(json_encode(array('status' => 200, 'data' => $status)));
}
/**
* 强更接口
*
@ -2367,7 +2368,7 @@ class UserController extends BaseController
}
// 客户端传参0原包 不提示更新 source_version程序版本号
if($request['source_version'] == 0) {
echo base64_encode(json_encode(array('code' => 200, 'msg' => '请求成功', 'data' => [])));
echo base64_encode(json_encode(array('code' => 200, 'msg' => '请求成功', 'data' => new \stdClass())));
exit();
}

Loading…
Cancel
Save