재입고SMS 알림 기능 추가

This commit is contained in:
chicpro
2014-02-26 11:06:10 +09:00
parent 4a9c29d3be
commit e2ea67feba
13 changed files with 452 additions and 4 deletions

View File

@ -385,6 +385,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_item` (
`it_use` tinyint(4) NOT NULL DEFAULT '0',
`it_soldout` tinyint(4) NOT NULL DEFAULT '0',
`it_stock_qty` int(11) NOT NULL DEFAULT '0',
`it_stock_sms` tinyint(4) NOT NULL DEFAULT '0',
`it_noti_qty` int(11) NOT NULL DEFAULT '0',
`it_sc_type` tinyint(4) NOT NULL DEFAULT '0',
`it_sc_method` tinyint(4) NOT NULL DEFAULT '0',
@ -702,4 +703,22 @@ CREATE TABLE IF NOT EXISTS `g5_shop_wish` (
`wi_ip` varchar(25) NOT NULL DEFAULT '',
PRIMARY KEY (`wi_id`),
KEY `index1` (`mb_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `g5_shop_item_stocksms`
--
DROP TABLE IF EXISTS `g5_shop_item_stocksms`;
CREATE TABLE IF NOT EXISTS `g5_shop_item_stocksms` (
`ss_id` int(11) NOT NULL AUTO_INCREMENT,
`it_id` varchar(20) NOT NULL DEFAULT '',
`ss_hp` varchar(255) NOT NULL DEFAULT '',
`ss_send` tinyint(4) NOT NULL DEFAULT '0',
`ss_send_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`ss_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`ss_ip` varchar(25) NOT NULL DEFAULT '',
PRIMARY KEY (`ss_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View File

@ -534,6 +534,7 @@ if($g5_shop_install) {
fwrite($f, "\$g5['g5_shop_sendcost_table'] = G5_SHOP_TABLE_PREFIX.'sendcost'; // 추가배송비 테이블\n");
fwrite($f, "\$g5['g5_shop_personalpay_table'] = G5_SHOP_TABLE_PREFIX.'personalpay'; // 개인결제 정보 테이블\n");
fwrite($f, "\$g5['g5_shop_order_address_table'] = G5_SHOP_TABLE_PREFIX.'order_address'; // 배송지이력 정보 테이블\n");
fwrite($f, "\$g5['g5_shop_item_stocksms_table'] = G5_SHOP_TABLE_PREFIX.'item_stocksms'; // 재입고SMS 알림 정보 테이블\n");
}
fwrite($f, "?>");