|
@@ -233,7 +233,10 @@ class CronLogic extends BaseLogic
|
|
foreach ($heimaDatas as $heimaData){
|
|
foreach ($heimaDatas as $heimaData){
|
|
//查询黑马账号下的订单
|
|
//查询黑马账号下的订单
|
|
$orders = HeiMaUtil::getOrderList($heimaData);
|
|
$orders = HeiMaUtil::getOrderList($heimaData);
|
|
-
|
|
|
|
|
|
+ if(!isset($orders["publisher_order_dto"])){
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ $orders = $orders["publisher_order_dto"];
|
|
if($orders){
|
|
if($orders){
|
|
BaseUtil::sendBaoJing("","获取到淘宝订单:".count($orders),"定时获取黑马淘客订单");
|
|
BaseUtil::sendBaoJing("","获取到淘宝订单:".count($orders),"定时获取黑马淘客订单");
|
|
}
|
|
}
|