@@ -6,11 +6,18 @@
namespace app\adminapi\controller;
+use crmeb\services\easywechat\orderShipping\MiniOrderService;
+
class Test
{
public function index()
-
+ $ship_list = [
+ [
+ 'item_desc' => '蓝牙音乐手表 | Jeep智能表蓝牙'
+ ]
+ ];
+ MiniOrderService::shippingByTradeNo('cp179280225803173888', 3, $ship_list, 'oZEAhsy60rrq96hE86LmBb9v_Kes');
}
@@ -94,7 +94,7 @@ class BaseOrder extends AbstractAPI
public function isManaged()
$params = [
- 'appid' => $this->config['order_shipping']['appid']
+ 'appid' => $this->config['config']['order_shipping']['appid']
];
return $this->resultHandle($this->parseJSON('POST', [self::BASE_API . self::ORDER . 'notify_confirm_receive', json_encode($params)]));