Showing
4 changed files
with
7 additions
and
2 deletions
@@ -105,7 +105,7 @@ module.exports = (env) => { | @@ -105,7 +105,7 @@ module.exports = (env) => { | ||
105 | path.join(__dirname, '../public/vue') | 105 | path.join(__dirname, '../public/vue') |
106 | ], | 106 | ], |
107 | alias:{ | 107 | alias:{ |
108 | - 'vue$':'vue/dist/vue.js' | 108 | + 'vue$':'vue/dist/vue.esm.js' |
109 | } | 109 | } |
110 | }, | 110 | }, |
111 | stats: { | 111 | stats: { |
@@ -21,6 +21,10 @@ module.exports = function(Sequelize, DataTypes) { | @@ -21,6 +21,10 @@ module.exports = function(Sequelize, DataTypes) { | ||
21 | type: DataTypes.INTEGER(2), | 21 | type: DataTypes.INTEGER(2), |
22 | allowNull: true | 22 | allowNull: true |
23 | }, | 23 | }, |
24 | + value: { | ||
25 | + type: DataTypes.STRING(200), | ||
26 | + allowNull: true | ||
27 | + }, | ||
24 | img: { | 28 | img: { |
25 | type: DataTypes.STRING(300), | 29 | type: DataTypes.STRING(300), |
26 | allowNull: true | 30 | allowNull: true |
@@ -37,6 +37,7 @@ CREATE TABLE IF NOT EXISTS act_wheel_surf_prize ( | @@ -37,6 +37,7 @@ CREATE TABLE IF NOT EXISTS act_wheel_surf_prize ( | ||
37 | `act_id` INT(8) NOT NULL DEFAULT 0, | 37 | `act_id` INT(8) NOT NULL DEFAULT 0, |
38 | `name` VARCHAR(50) COMMENT '奖品名称', | 38 | `name` VARCHAR(50) COMMENT '奖品名称', |
39 | `type` INT(2) DEFAULT 0 COMMENT '奖品类型: 0、空奖 2、红包 3、优惠券', | 39 | `type` INT(2) DEFAULT 0 COMMENT '奖品类型: 0、空奖 2、红包 3、优惠券', |
40 | + `value` VARCHAR(200) DEFAULT '' COMMENT '奖品口令或面值等', | ||
40 | `img` VARCHAR(300) COMMENT '奖品图片', | 41 | `img` VARCHAR(300) COMMENT '奖品图片', |
41 | `total` INT(8) DEFAULT 0 COMMENT '奖品总数', | 42 | `total` INT(8) DEFAULT 0 COMMENT '奖品总数', |
42 | `total_left` INT(8) DEFAULT 0 COMMENT '奖品总数', | 43 | `total_left` INT(8) DEFAULT 0 COMMENT '奖品总数', |
-
Please register or login to post a comment