|
|
@@ -37,10 +37,12 @@ class QueueCbt extends Start_Controller {
|
|
|
//'libraryconfirm'=>2,//允许出库
|
|
|
"review >"=>4,//审核通过或自动审核
|
|
|
];
|
|
|
- $shop_info = $this->shop->read(35);
|
|
|
- if(empty($shop_info)){
|
|
|
- exit("当前店铺不存在");
|
|
|
- }
|
|
|
+ //$shop_info = $this->shop->read(35);
|
|
|
+ $shop_list = $this->shop->find_all('id in (35,46)');
|
|
|
+ $shop_list = array_column($shop_list,null,'id');
|
|
|
+ // if(empty($shop_info)){
|
|
|
+ // exit("当前店铺不存在");
|
|
|
+ // }
|
|
|
$list = $this->db->from("fullordertt")
|
|
|
->where($where_arr)
|
|
|
->where_not_in('state',[214,217])
|
|
|
@@ -54,9 +56,12 @@ class QueueCbt extends Start_Controller {
|
|
|
if(isset($extra_text['label_info'])){
|
|
|
continue;
|
|
|
}
|
|
|
- $r = $this->express_tt->doCreateCBTLabel($v,$shop_info);
|
|
|
- print_r($v['orderinfo']);
|
|
|
- usleep(100);
|
|
|
+ if(isset($shop_list[$v['shop']])){
|
|
|
+ $r = $this->express_tt->doCreateCBTLabel($v,$shop_list[$v['shop']]);
|
|
|
+ var_dump($v['orderinfo']);
|
|
|
+ usleep(100);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
exit("执行完成");
|
|
|
|