Browse Source

[消息][修改]:限制类型长度修改

release_toaliyun_real
Stormeye Wu 6 years ago
parent
commit
984250a22e
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      mallinkAdmin/src/main/resources/db/migration/V201907111418__CHANGE_WX_MSG_LIMIT.sql
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

+ 2
- 0
mallinkAdmin/src/main/resources/db/migration/V201907111418__CHANGE_WX_MSG_LIMIT.sql View File

@@ -0,0 +1,2 @@
alter table `wx_msg_limit`
change column `type` `type` smallint (4) DEFAULT '0' COMMENT '1: 短信-验证码(24小时10条)2:短信-营销(24小时3条) 10:prepay_id(7天内3次), 12:form_id(7天内1次), 13.open_id for 小程序统一消息限制(2天内1次),14.open_id for 公众号模板消息限制(2天内1次)';

+ 1
- 1
mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml View File

@@ -4,7 +4,7 @@
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxMsgLimit"> <resultMap id="BaseResultMap" type="com.iformall.domain.po.WxMsgLimit">
<id column="id" jdbcType="BIGINT" property="id"/> <id column="id" jdbcType="BIGINT" property="id"/>
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/> <result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/>
<result column="type" jdbcType="TINYINT" property="type"/>
<result column="type" jdbcType="INTEGER" property="type"/>
<result column="limit_id" jdbcType="VARCHAR" property="limitId"/> <result column="limit_id" jdbcType="VARCHAR" property="limitId"/>
<result column="limit_num" jdbcType="INTEGER" property="limitNum"/> <result column="limit_num" jdbcType="INTEGER" property="limitNum"/>
<result column="limit_date" jdbcType="TIMESTAMP" property="limitDate"/> <result column="limit_date" jdbcType="TIMESTAMP" property="limitDate"/>


Loading…
Cancel
Save