mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
fix: 修改微信订单参数问题
This commit is contained in:
parent
ed851f3e43
commit
c8b8d22e4c
@ -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)]));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user