@ -675,6 +675,13 @@ class PaymentMerchantController extends ThinkController
]);
}
if ($rule['start_time'] < strtotime(date('Y-m-d 23:59:59', time()))) {
$this->ajaxReturn([
'status' => 0,
'message' => '该记录不可删除,规则开始时间包含今天或今天之前的时间。'
M('payment_rule', 'tab_')->where(['id' => $id])->delete();
addOperationLog([
'op_type' => 2,