diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index 939740a4..eaaa49b0 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -2471,10 +2471,13 @@ class UserController extends BaseController if (empty($game_source)) { $game_source['source_version'] = 0; } - // 客户端传参0原包 不提示更新 source_version程序版本号 - if($request['source_version'] == 0) { - echo base64_encode(json_encode(array('code' => 200, 'msg' => '请求成功', 'data' => new \stdClass()))); - exit(); + + if ((isset($request['api_ver']) && $request['api_ver'] >= 2) || $request['sdk_version'] == 2) { + // 客户端传参0原包 不提示更新 source_version程序版本号 + if($request['source_version'] == 0) { + echo base64_encode(json_encode(array('code' => 200, 'msg' => '请求成功', 'data' => new \stdClass()))); + exit(); + } } $data['is_force_update'] = $game_info['is_force_update'];