6
0
Fork 0

修改 scene 长度

base
panliang 2022-11-07 11:54:39 +08:00
parent ae4fc9b507
commit 548d2e4692
3 changed files with 7 additions and 5 deletions

View File

@ -79,8 +79,8 @@ class OrderPreController extends Controller
$scene = http_build_query([ $scene = http_build_query([
'order_pre' => $order_pre->id, 'o' => $order_pre->id,
'invite_code' => $user->userInfo->code, 'i' => $user->userInfo->code,
]); ]);
$response = $app->app_code->getUnlimit($scene, [ $response = $app->app_code->getUnlimit($scene, [
@ -98,6 +98,8 @@ class OrderPreController extends Controller
]); ]);
} }
logger('order_pre', $response);
throw new BizException('生成失败, 请稍后再试'); throw new BizException('生成失败, 请稍后再试');
} }

View File

@ -235,8 +235,8 @@ class ProductSkuController extends Controller
$app = EasyWeChat::miniProgram(config('wechat.mini_program.default')); $app = EasyWeChat::miniProgram(config('wechat.mini_program.default'));
$scene = http_build_query([ $scene = http_build_query([
'product' => $sku->id, 'p' => $sku->id,
'invite_code' => $user->userInfo->code, 'i' => $user->userInfo->code,
]); ]);
$response = $app->app_code->getUnlimit($scene, [ $response = $app->app_code->getUnlimit($scene, [

View File

@ -32,7 +32,7 @@ class ShareBgController extends Controller
$disk = Storage::disk('public'); $disk = Storage::disk('public');
$app = $this->getWechatApp(); $app = $this->getWechatApp();
$scene = http_build_query([ $scene = http_build_query([
'invite_code' => $user->userInfo->code 'i' => $user->userInfo->code
]); ]);
$response = $app->app_code->getUnlimit($scene, [ $response = $app->app_code->getUnlimit($scene, [