Commit 504da59d authored by zhuwei's avatar zhuwei Committed by hujun

客户电话跟进

parent e7670c1a
...@@ -129,18 +129,20 @@ class Broker extends Basic ...@@ -129,18 +129,20 @@ class Broker extends Basic
$params['agent_id']=1;//agent表id-当前登录用户id $params['agent_id']=1;//agent表id-当前登录用户id
$params['type']=1;//B端agent表 $params['type']=1;//B端agent表
*/ */
if (!isset($params['content']) || !isset($params['labels_id']) || !isset($params['user_id'])) { if (!isset($params['content']) || !isset($params['user_id'])) {
return $this->response("300", "参数不全", [ 'remote_groupid' => '' ]); return $this->response("300", "参数不全", [ 'remote_groupid' => '' ]);
} }
$content = $params['content']; $content = $params['content'];
$labels_id = $params['labels_id']; $labels_id = $params['labels_id'];
$user_id = $params['user_id']; $user_id = $params['user_id'];
$type = $params['type'];
//主表查询商铺详细信息 //主表查询商铺详细信息
$UPhoneFollowPp = new UPhoneFollowPp(); $UPhoneFollowPp = new UPhoneFollowPp();
$UPhoneFollowPp->content =$content; $UPhoneFollowPp->content =$content;
$UPhoneFollowPp->labels_id = $labels_id; $UPhoneFollowPp->labels_id = $labels_id;
$UPhoneFollowPp->user_id =$user_id; $UPhoneFollowPp->user_id =$user_id;
$UPhoneFollowPp->type =$type;
$UPhoneFollowPp->save(); $UPhoneFollowPp->save();
//dump($UPhoneFollowPp->id);exit; //dump($UPhoneFollowPp->id);exit;
......
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 to comment