|
|
@@ -80,6 +80,12 @@ trait MiniAppTrait
|
|
|
],
|
|
|
],
|
|
|
];
|
|
|
+ } else {
|
|
|
+ $data['shipping_list'] = [
|
|
|
+ [
|
|
|
+ 'item_desc' => $itemDesc,
|
|
|
+ ],
|
|
|
+ ];
|
|
|
}
|
|
|
$response = WechatPayBuilder::getMiniApp()->getClient()->postJson('wxa/sec/order/upload_shipping_info', $data);
|
|
|
$result = $response->getContent();
|