|
...
|
...
|
@@ -82,10 +82,11 @@ class InquiryInfoLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/12 9:22
|
|
|
|
*/
|
|
|
|
public function inquirySave(){
|
|
|
|
public function inquirySave($status = 3){
|
|
|
|
try {
|
|
|
|
$xp_id = $this->inquiryInfoSave();
|
|
|
|
$xp_id = $this->inquiryInfoSave($status);
|
|
|
|
$this->inquiryUserSave($xp_id);
|
|
|
|
//TODO::转发询盘
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('error');
|
|
|
|
}
|
|
...
|
...
|
@@ -99,7 +100,7 @@ class InquiryInfoLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/12 11:12
|
|
|
|
*/
|
|
|
|
public function inquiryInfoSave(){
|
|
|
|
public function inquiryInfoSave($status = 3){
|
|
|
|
//组装数据
|
|
|
|
$param = [
|
|
|
|
'name'=>$this->param['name'],
|
|
...
|
...
|
@@ -109,6 +110,7 @@ class InquiryInfoLogic extends BaseLogic |
|
|
|
'ip_area'=>$this->param['ip_area'],
|
|
|
|
'message'=>$this->param['message'],
|
|
|
|
'type'=>$this->param['type'],
|
|
|
|
'status'=>$status,
|
|
|
|
'created_at'=>date('Y-m-d H:i:s'),
|
|
|
|
'updated_at'=>date('Y-m-d H:i:s'),
|
|
|
|
];
|
|
...
|
...
|
@@ -195,7 +197,7 @@ class InquiryInfoLogic extends BaseLogic |
|
|
|
'forward_url'=>$row[7],
|
|
|
|
'delay'=>$row[8],
|
|
|
|
];
|
|
|
|
$this->inquirySave();
|
|
|
|
$this->inquirySave(0);
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|