增加客户解锁增加解锁时间和后台解锁时间赛选
This commit is contained in:
@@ -345,7 +345,7 @@ class Receiver_customers_model extends HD_Model
|
||||
throw new Exception($couponResult->getMessage());
|
||||
}
|
||||
$coupon = $couponResult->getData();
|
||||
$res = $this->customers_model->update(['un_lock' => 1], ['id' => $id]);
|
||||
$res = $this->customers_model->update(['un_lock' => 1, 'unlock_time' => date('Y-m-d H:i:s')], ['id' => $id]);
|
||||
if (!$res) {
|
||||
throw new Exception('更新失败');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user