6
0
Fork 0

测试环境小程序码版本

release
panliang 2022-05-11 14:14:39 +08:00
parent e85ed583be
commit d4cd3871b2
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ class OrderPreController extends Controller
$response = $app->app_code->getUnlimit($scene, [
'page' => 'pages/welcome/index',
'check_path' => false,
'env_version' => app()->isProduction() ? 'release' : 'develop',
// develop: 开发版, trial: 体验版
'env_version' => app()->isProduction() ? 'release' : $request->input('env_version', 'trial'),
'width' => $request->input('width', 200),
]);