|
@@ -444,11 +444,15 @@ class JRFIDServerService extends Service
|
|
|
public function screenGetProDtData($data,$param){
|
|
|
if(empty($data['id'])) return [false, '数据ID不能为空'];
|
|
|
if(empty($data['type'])) return [false, 'TYPE不能为空'];
|
|
|
+ if(empty($data['contract_no'])) return [false, '合同不能为空'];
|
|
|
+ if(empty($data['drawing_no'])) return [false, '图号不能为空'];
|
|
|
|
|
|
$url = config("j_rfid.screenGetProDtData");
|
|
|
$post = [
|
|
|
'id' => $data['id'],
|
|
|
'type' => $data['type'],
|
|
|
+ 'contract_no' => $data['contract_no'],
|
|
|
+ 'drawing_no' => $data['drawing_no'],
|
|
|
];
|
|
|
|
|
|
list($status,$result) = $this->post_helper($url,json_encode($post),$param['header']);
|