#209 PC 및 관리자 쿠폰 기능 추가

This commit is contained in:
chicpro committed 2013-06-10 14:34:37 +09:00
1 parent fab9c27cca
commit ee8e0f9ba4
9 files changed
+122 -25

No files matched your search

+9
View File
@@ -265,4 +265,13 @@ if(!$result) {
ADD `od_coupon` INT(11) NOT NULL DEFAULT '0' AFTER `od_dc_amount`,
ADD `od_send_coupon` INT(11) NOT NULL DEFAULT '0' AFTER `od_send_cost` ", false);
}
// 쿠폰사용정보필드추가
$sql = " select od_id from {$g4['shop_coupon_table']} limit 1 ";
$result = sql_query($sql, false);
if(!$result) {
sql_query(" ALTER TABLE `{$g4['shop_coupon_table']}`
ADD `od_id` BIGINT(20) UNSIGNED NOT NULL AFTER `cp_maximum`,
ADD `cp_used_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `cp_used` ", false);
}
?>