|
@@ -49,6 +49,7 @@ class Base
|
|
|
// 同步已经下单的订单
|
|
// 同步已经下单的订单
|
|
|
if (!empty($account)) {
|
|
if (!empty($account)) {
|
|
|
$resp = (new Client)->config($this->getDyConfig())->token()->queryOrder($account,$openId);
|
|
$resp = (new Client)->config($this->getDyConfig())->token()->queryOrder($account,$openId);
|
|
|
|
|
+ print_r($resp);
|
|
|
$store = (new SaasStore)->where("store_id",$account)->findOrEmpty();
|
|
$store = (new SaasStore)->where("store_id",$account)->findOrEmpty();
|
|
|
if (!empty($resp['data']['orders'])) {
|
|
if (!empty($resp['data']['orders'])) {
|
|
|
$orderData = $orderLog = [];
|
|
$orderData = $orderLog = [];
|