|
@@ -31,6 +31,7 @@ use app\common\model\RefundCompensate;
|
|
|
use app\common\model\OrderTj;
|
|
|
use app\common\model\SmsRemind;
|
|
|
use app\common\model\PushLog;
|
|
|
+use app\console\service\WxDelivery;
|
|
|
use app\store\model\ChannelSaleVolumeTj;
|
|
|
use app\store\model\user\CommerCountTj;
|
|
|
use think\cache\driver\Redis;
|
|
@@ -685,4 +686,12 @@ class Order extends Controller
|
|
|
return $this->renderSuccess(compact('data'));
|
|
|
}
|
|
|
|
|
|
+ //用户将系统中已手动发货的订单录入到微信小程序发货系统
|
|
|
+ //20 * * * * webuser curl https://wxapp.rwgmlc.cn/order/wx_delivery_cron
|
|
|
+ public function wxDeliveryCron(){
|
|
|
+ $wxDeliveryServ = new WxDelivery();
|
|
|
+ $wxDeliveryServ->pullOrderStatus(10001);
|
|
|
+ return $this->renderSuccess([]);
|
|
|
+ }
|
|
|
+
|
|
|
}
|