|
@@ -645,8 +645,8 @@ class DwyController extends BaseController
|
|
|
unset($v['product_list'][$kk]);
|
|
|
continue;
|
|
|
}
|
|
|
- $v['product_list'][$kk]['send_qty'] = 300;
|
|
|
- $v['product_list'][$kk]['fake_qty'] = 300;
|
|
|
+ $v['product_list'][$kk]['send_qty'] = 200;
|
|
|
+ $v['product_list'][$kk]['fake_qty'] = 200;
|
|
|
|
|
|
}
|
|
|
// $a['data'][$k]['box_code'] = 'CK00006';
|
|
@@ -655,7 +655,7 @@ class DwyController extends BaseController
|
|
|
$aa = $v;
|
|
|
// $aa['box_code'] = 'CK00019';
|
|
|
// $aa['box_code_show'] = '商标十六号';
|
|
|
- $aa['send_qty'] = 300;
|
|
|
+ $aa['send_qty'] = 200;
|
|
|
//
|
|
|
// $bb = $v;
|
|
|
// $bb['box_code'] = 'CK00013';
|
|
@@ -685,7 +685,7 @@ class DwyController extends BaseController
|
|
|
|
|
|
}
|
|
|
$box_list = [
|
|
|
- 14,15,2,3,9,12
|
|
|
+ 6,7
|
|
|
];
|
|
|
foreach ($box_list as $v){
|
|
|
$v = $v+3;
|
|
@@ -714,22 +714,11 @@ class DwyController extends BaseController
|
|
|
file_put_contents('dwy.txt', json_encode($param) . PHP_EOL, 8);
|
|
|
|
|
|
|
|
|
-// $param = [
|
|
|
-// 'token'=>'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIyNzM2OTUyNTA3NTI5NTQzNzMiLCJhdXRoIjoiUk9MRV9JTk5FUl9VU0VSLFJPTEVfQlJBTkRfQVJSRVNULFJPTEVfQURNSU4iLCJ0b2tlbklkIjoiOTUwIiwiZXhwIjoxNzA3OTcxMTcxfQ.2VQ9Wqmk4rvKAcTsQPw59llBbeXjalKDGIZA4kesnuOJ0POmPVOVlRLbTtUDxl0XiFdPDUrKzuEFl2DXSgQdJg',
|
|
|
-// 'list'=>[
|
|
|
-// [
|
|
|
-// 'title'=>'优选A7家具板ENF小标',
|
|
|
-// 'num'=>'20',
|
|
|
-// ],[
|
|
|
-// 'title'=>'植萃除醛圆标',
|
|
|
-// 'num'=>'10',
|
|
|
-// ],
|
|
|
-// ],
|
|
|
-// ];
|
|
|
+// $param = json_decode('{"token":"Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiI1OTAwNDY0ODg5NDAzODQyNTYiLCJhdXRoIjoiUk9MRV9VU0VfQlJBTkRfU1VQUExJRVIsUk9MRV9PVVRFUl9VU0VSLFJPTEVfQlJBTkRfU1VQUExJRVIsUk9MRV9JTk5FUl9VU0VSLFJPTEVfSU5URVJGQUNFLFJPTEVfU0VORF9CUkFORF9TVVBQTElFUiIsInRva2VuSWQiOiIzIiwiZXhwIjoxNzIxMzU1NDczfQ.BMRYPq_8TXaSE4isig-2hn3I6J25IeFe8_Z9_-LZZt41yGVRE0OQUlSO9zl93a1Lv7fW9D0BB8V9ZoHxvRfWhA","list":[{"title":"E0\u6279\u96f6\u514d\u6f06\uff08\u6d4b\u8bd5\u767d\u6807\uff09","num":"6500","restock_qty":0,"product_code":"BC020202000999","product_code_show":"\u4fe1\u606f\u90e8\u6d4b\u8bd51800\u9999\u6749\u6728","order_item_id":"590882008738308096","order_item_id_show":"SO202406180173","decor_code_show":"\u6d4b\u8bd5\u82b1\u827201","craft_type_code_show":"\u5178\u96c5\u6c99\u8d1d","specs":"\u5178\u96c5\u6c99\u8d1d \u6d4b\u8bd5\u82b1\u827201 11345","material_name":"\u4fe1\u606f\u90e8\u6d4b\u8bd51800\u9999\u6749\u6728"},{"title":"\u94f6\u76fe\u6297\u83cc\u5706\u6807\uff08\u6d4b\u8bd5\u767d\u6807\uff09","num":"500","restock_qty":0,"product_code":"BC020202000999","product_code_show":"\u4fe1\u606f\u90e8\u6d4b\u8bd51800\u9999\u6749\u6728","order_item_id":"590882008738308096","order_item_id_show":"SO202406180173","decor_code_show":"\u6d4b\u8bd5\u82b1\u827201","craft_type_code_show":"\u5178\u96c5\u6c99\u8d1d","specs":"\u5178\u96c5\u6c99\u8d1d \u6d4b\u8bd5\u82b1\u827201 11345","material_name":"\u4fe1\u606f\u90e8\u6d4b\u8bd51800\u9999\u6749\u6728"}],"mac":"28f1e65c8cfd496f"}',true);
|
|
|
$token = $param['token'];
|
|
|
$list = $param['list'];
|
|
|
$mac = $param['mac'];
|
|
|
-// if($mac === 'cff4dc68c73115b'){
|
|
|
+// if($mac === '28f1e65c8cfd496f'){
|
|
|
//
|
|
|
// return $this->test();
|
|
|
// }
|