苹果商家版本不验证首页token

This commit is contained in:
2026-01-08 15:18:05 +08:00
parent eddb1e2fc0
commit 74c496efbe
2 changed files with 2 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class BaseCom extends Controller
if(empty($version)){
$version = request()->header('App-Version');
}
$zhenshi_version = db::name('version')->where('type', 2)->value('apiversion');
$zhenshi_version = db::name('version')->where('type', 2)->value('newversion');
$result = version_compare($version,$zhenshi_version);
//请求的接口
$api = request()->controller().'/'.request()->action();