Commit b93b14a4 by hcy001

1

parent 99d2a82e
...@@ -28,7 +28,7 @@ class ServerController extends Controller ...@@ -28,7 +28,7 @@ class ServerController extends Controller
(new LoginModel())->CreatePcToken($request); (new LoginModel())->CreatePcToken($request);
} }
//生成登录token(目前只有pc在用) //自动报价
public function BatchQuote($request){ public function BatchQuote($request){
Export((new QuoteModel())->addBatch(@$_REQUEST["data"])); Export((new QuoteModel())->addBatch(@$_REQUEST["data"]));
} }
......
...@@ -340,6 +340,7 @@ class InquiryModel extends Model ...@@ -340,6 +340,7 @@ class InquiryModel extends Model
// 在Redis集合中检查用户是否被催报价 // 在Redis集合中检查用户是否被催报价
$res = RedisDB::sIsMember('frq_inquiry_items_urge', $v['id'] . '-' . $user_id); $res = RedisDB::sIsMember('frq_inquiry_items_urge', $v['id'] . '-' . $user_id);
$v["inquiry_sn_origin"] = $v['inquiry_sn'];
if ($res) { if ($res) {
$urge = $InquiryItemsUrgeModel->getLastInfo($v['id']); $urge = $InquiryItemsUrgeModel->getLastInfo($v['id']);
$v['inquiry_sn'] = '<div title="' . $urge['remark'] . '">' . $v['inquiry_sn'] . '<i style="color:red;">(催)</i></div>'; $v['inquiry_sn'] = '<div title="' . $urge['remark'] . '">' . $v['inquiry_sn'] . '<i style="color:red;">(催)</i></div>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment