跟进时间
This commit is contained in:
@@ -139,13 +139,13 @@ class FollowController
|
||||
'lat'=>Util::getParam($request,'lat',0),
|
||||
'lng'=>Util::getParam($request,'lng',0),
|
||||
'address'=>Util::getParam($request,'address'),
|
||||
'follow_time'=>Util::getParam($request,'firstFollowtime',0),
|
||||
'follow_time'=>strtotime(Util::getParam($request,'firstFollowtime',0)),
|
||||
];
|
||||
|
||||
$res = Follow::create($data);
|
||||
|
||||
$customer = Customer::find($customer_id);
|
||||
$customer->follow_last = $res->created_at;
|
||||
$customer->follow_last = strtotime($res->created_at);
|
||||
$customer->save();
|
||||
|
||||
if ($res) {
|
||||
|
||||
Reference in New Issue
Block a user