增加导出解锁时间
This commit is contained in:
@@ -1572,7 +1572,11 @@ class Customers extends Wxapp
|
||||
if (!$row) {
|
||||
throw new Exception('数据不存在');
|
||||
}
|
||||
$res = $this->customers_model->update(['un_lock' => Receiver_customers_model::LOCK_STATUS_2], ['id' => $id]);
|
||||
$updateData = [
|
||||
'un_lock' => Receiver_customers_model::LOCK_STATUS_2,
|
||||
'unlock_time' => date('Y-m-d H:i:s')
|
||||
];
|
||||
$res = $this->customers_model->update($updateData, ['id' => $id]);
|
||||
if (!$res) {
|
||||
throw new Exception('保存失败', ERR_PARAMS_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user