跟进时间

This commit is contained in:
2025-03-20 10:01:21 +08:00
parent 7fb921dc9f
commit cd580fea23
3 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -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) {