|
|
|
@ -443,9 +443,9 @@ class OrderController extends Controller |
|
|
|
$app = $app->miniProgram($order->agent->appid, $refreshToken); |
|
|
|
|
|
|
|
//由于参数最多只能32个字符,故通过下面这种方式传参
|
|
|
|
//0$表示使用普通订单,使用api/verification/verify接口核销;
|
|
|
|
//1$表示行业产品订单,使用api/verification/industry_verify接口核销
|
|
|
|
$response = $app->app_code->getUnlimit('0$' . $order->verify_code, ['page' => 'pages/verification/index']); |
|
|
|
//pt表示使用普通订单,使用api/verification/verify接口核销;
|
|
|
|
//hy表示行业产品订单,使用api/verification/industry_verify接口核销
|
|
|
|
$response = $app->app_code->getUnlimit('pt' . $order->verify_code, ['page' => 'pages/verification/index']); |
|
|
|
|
|
|
|
if ($response instanceof StreamResponse) { |
|
|
|
$filename = $response->saveAs(storage_path('app/public/verify_code'), $order->verify_code); |
|
|
|
|