SHOW FULL COLUMNS FROM `lf_sys_setting` [ RunTime:0.000852s ]
SELECT * FROM `lf_sys_setting` WHERE `type` = 'base' [ RunTime:0.000400s ]
SELECT * FROM `lf_sys_setting` WHERE `type` = 'base' [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `lf_coupon` [ RunTime:0.000817s ]
UPDATE `lf_coupon` SET `status` = 3 , `update_time` = '2026-04-28 14:42:30' WHERE ( `validity_type` = 1 AND `end_time` < '2026-04-28 14:42:30' ) [ RunTime:0.004785s ]
SELECT `id`,`coupon_type`,`name`,`type`,`amount`,`max_receive_num`,`validity_type`,`start_time`,`end_time`,`receive_useful_day`,`is_threshold`,`threshold_amount`,`discount`,`use_type`,`join_goods` FROM `lf_coupon` WHERE ( `status` = 1 ) ORDER BY `id` DESC [ RunTime:0.000462s ]