|
|
@@ -38,22 +38,17 @@ class StorageController
|
|
|
"priority" => 99,//优先级 1-2147483647 1最低
|
|
|
"sequenceFlag" => -1,//是否需要有序 1:需要有序 0:不需要有序
|
|
|
"bins" => [$bin],//可执行货箱任务
|
|
|
- ]];*/
|
|
|
+ ]];*///IDE0005714,IDE0004970
|
|
|
$this->post = [[
|
|
|
"taskMode" => 1,
|
|
|
"bins"=>[[
|
|
|
"taskCode" =>'t'.microtime(true),
|
|
|
- "binCode" => "IDE0005665",
|
|
|
+ "binCode" => "IDE0005714",
|
|
|
"fromLocCode" => "BIN-IN1",
|
|
|
"toLocCode" => "",
|
|
|
],[
|
|
|
"taskCode" =>'t1'.microtime(true),
|
|
|
- "binCode" => "IDE0005656",
|
|
|
- "fromLocCode" => "BIN-IN1",
|
|
|
- "toLocCode" => "",
|
|
|
- ],[
|
|
|
- "taskCode" =>'t2'.microtime(true),
|
|
|
- "binCode" => "IDE0005657",
|
|
|
+ "binCode" => "IDE0004970",
|
|
|
"fromLocCode" => "BIN-IN1",
|
|
|
"toLocCode" => "",
|
|
|
],],
|
|
|
@@ -254,7 +249,7 @@ class StorageController
|
|
|
return ['success'=>false,"data"=>$response["msg"]];
|
|
|
}
|
|
|
app('LogService')->log(__METHOD__,"haiq-料箱出库成功","REQUEST:".json_encode($this->post)." | RESPONSE:".$response);
|
|
|
- return ["success"=>true];
|
|
|
+ return ["success"=>true,'data'=>$response->body()];
|
|
|
}
|
|
|
public function light(Request $request,$post){
|
|
|
$response = Http::post(config('api.haiq.storage.light'),$post);
|