mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 08:20:36 +00:00
fix: 修改微信订单参数问题
This commit is contained in:
parent
c8b8d22e4c
commit
76af1381ff
@ -4,6 +4,7 @@ namespace crmeb\services\easywechat\orderShipping;
|
||||
|
||||
use crmeb\exceptions\AdminException;
|
||||
use crmeb\services\CacheService;
|
||||
use EasyWeChat\Core\AccessToken;
|
||||
use EasyWeChat\Core\Exceptions\HttpException;
|
||||
use think\facade\Cache;
|
||||
|
||||
@ -13,6 +14,11 @@ class OrderClient extends BaseOrder
|
||||
const redis_prefix = 'mimi_order';
|
||||
|
||||
|
||||
public function __construct(AccessToken $accessToken, $config)
|
||||
{
|
||||
parent::__construct($accessToken, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* @var \Redis
|
||||
*/
|
||||
@ -77,7 +83,7 @@ class OrderClient extends BaseOrder
|
||||
$params = [
|
||||
'order_key' => [
|
||||
'order_number_type' => 1,
|
||||
'mchid' => $this->config['order_shipping']['merchant_id'],
|
||||
'mchid' => $this->config['config']['order_shipping']['merchant_id'],
|
||||
'out_trade_no' => $out_trade_no,
|
||||
],
|
||||
'logistics_type' => $logistics_type,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user