增加客户解锁增加解锁时间和后台解锁时间赛选

This commit is contained in:
lcc
2025-11-02 11:49:01 +08:00
parent e1d70e821d
commit 08ad9e899a
2 changed files with 7 additions and 2 deletions
@@ -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('更新失败');
}