SHOW FULL COLUMNS FROM `dp_sys_setting` [ RunTime:0.000498s ]
SELECT * FROM `dp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000242s ]
SELECT * FROM `dp_sys_setting` WHERE `type` = 'base' [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `dp_coupon` [ RunTime:0.000713s ]
UPDATE `dp_coupon` SET `status` = 3 , `update_time` = '2026-07-16 05:32:12' WHERE ( `validity_type` = 1 AND `end_time` < '2026-07-16 05:32:12' ) [ RunTime:0.004488s ]
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 `dp_coupon` WHERE ( `status` = 1 ) ORDER BY `id` DESC [ RunTime:0.000334s ]