修改 scene 长度
parent
ae4fc9b507
commit
548d2e4692
|
|
@ -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('生成失败, 请稍后再试');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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, [
|
||||||
|
|
|
||||||
|
|
@ -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, [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue