| @@ -0,0 +1,21 @@ | |||||
| package com.simple; | |||||
| import org.mybatis.spring.annotation.MapperScan; | |||||
| import org.springframework.boot.SpringApplication; | |||||
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |||||
| import springfox.documentation.swagger2.annotations.EnableSwagger2; | |||||
| /** | |||||
| * @author chenkx | |||||
| * @date 2017-12-26 | |||||
| */ | |||||
| @SpringBootApplication | |||||
| @MapperScan(basePackages = {"com.simple.mapper"}) | |||||
| @EnableSwagger2 | |||||
| public class UserApplication { | |||||
| public static void main(String[] args) { | |||||
| SpringApplication.run(UserApplication.class, args); | |||||
| } | |||||
| } | |||||
| @@ -1,9 +1,12 @@ | |||||
| spring: | spring: | ||||
| # JDBC | # JDBC | ||||
| datasource: | datasource: | ||||
| url: jdbc:mysql://47.100.34.187:63306/mallink?characterEncoding=UTF-8&useSSL=false | |||||
| username: root | |||||
| password: 1234qwer | |||||
| # url: jdbc:mysql://127.0.0.1:63306/mallink?characterEncoding=UTF-8&useSSL=false | |||||
| # username: root | |||||
| # password: root | |||||
| url: jdbc:mysql://202.165.179.86:3306/mallink?characterEncoding=UTF-8&useSSL=false | |||||
| username: mallone | |||||
| password: m@1l0ne123@# | |||||
| type: com.alibaba.druid.pool.DruidDataSource | type: com.alibaba.druid.pool.DruidDataSource | ||||
| driver-class-name: com.mysql.jdbc.Driver | driver-class-name: com.mysql.jdbc.Driver | ||||
| filters: stat | filters: stat | ||||
| @@ -24,7 +27,7 @@ spring: | |||||
| # REDIS | # REDIS | ||||
| redis: | redis: | ||||
| host: 47.100.34.187 | |||||
| host: 127.0.0.1 | |||||
| port: 6379 | port: 6379 | ||||
| timeout: 0 | timeout: 0 | ||||
| expire: 1800 #30分钟 | expire: 1800 #30分钟 | ||||
| @@ -1,9 +1,9 @@ | |||||
| spring: | spring: | ||||
| # JDBC | # JDBC | ||||
| datasource: | datasource: | ||||
| url: jdbc:mysql://47.100.34.187:63306/mallink?characterEncoding=UTF-8&useSSL=false | |||||
| url: jdbc:mysql://127.0.0.1:63306/mallink?characterEncoding=UTF-8&useSSL=false | |||||
| username: root | username: root | ||||
| password: 1234qwer | |||||
| password: root | |||||
| type: com.alibaba.druid.pool.DruidDataSource | type: com.alibaba.druid.pool.DruidDataSource | ||||
| driver-class-name: com.mysql.jdbc.Driver | driver-class-name: com.mysql.jdbc.Driver | ||||
| filters: stat | filters: stat | ||||
| @@ -24,7 +24,7 @@ spring: | |||||
| # REDIS | # REDIS | ||||
| redis: | redis: | ||||
| host: 47.100.34.187 | |||||
| host: 127.0.0.1 | |||||
| port: 6379 | port: 6379 | ||||
| timeout: 0 | timeout: 0 | ||||
| expire: 1800 #30分钟 | expire: 1800 #30分钟 | ||||
| @@ -14,7 +14,7 @@ public class WxEtcpParkTransaction extends BaseModel { | |||||
| /*Integer 支付方式(1 微信公众号内支付 | /*Integer 支付方式(1 微信公众号内支付 | ||||
| 2 支付宝 H5 支付 3 微信二维码 | 2 支付宝 H5 支付 3 微信二维码 | ||||
| 4 支付宝二维码 5 微信 H5)**/ | 4 支付宝二维码 5 微信 H5)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="Integer支付方式(1 微信公众号内支付2 支付宝 H5 支付 3 微信二维码4 支付宝二维码 5 微信 H5)",name="payType") | |||||
| @io.swagger.annotations.ApiModelProperty(value="支付方式(1 微信公众号内支付2 支付宝 H5 支付 3 微信二维码4 支付宝二维码 5 微信 H5)",name="payType") | |||||
| private Integer payType; | private Integer payType; | ||||
| /*停车记录标识(查费接口中的 返回的 orderId 字段)**/ | /*停车记录标识(查费接口中的 返回的 orderId 字段)**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="停车记录标识(查费接口中的 返回的 orderId 字段)",name="synId") | @io.swagger.annotations.ApiModelProperty(value="停车记录标识(查费接口中的 返回的 orderId 字段)",name="synId") | ||||
| @@ -3,7 +3,7 @@ | |||||
| <mapper namespace="com.simple.mapper.WxBLogMapper"> | <mapper namespace="com.simple.mapper.WxBLogMapper"> | ||||
| <resultMap id="BaseResultMap" type="com.simple.domain.po.WxBLog"> | <resultMap id="BaseResultMap" type="com.simple.domain.po.WxBLog"> | ||||
| <id column="id" jdbcType="INTEGER" property="id" /> | <id column="id" jdbcType="INTEGER" property="id" /> | ||||
| <result column="data" jdbcType="JSON" property="data" /> | |||||
| <result column="data" jdbcType="VARCHAR" property="data" /> | |||||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | ||||
| </resultMap> | </resultMap> | ||||
| @@ -3,7 +3,7 @@ | |||||
| <mapper namespace="com.simple.mapper.WxCLogMapper"> | <mapper namespace="com.simple.mapper.WxCLogMapper"> | ||||
| <resultMap id="BaseResultMap" type="com.simple.domain.po.WxCLog"> | <resultMap id="BaseResultMap" type="com.simple.domain.po.WxCLog"> | ||||
| <id column="id" jdbcType="INTEGER" property="id" /> | <id column="id" jdbcType="INTEGER" property="id" /> | ||||
| <result column="data" jdbcType="JSON" property="data" /> | |||||
| <result column="data" jdbcType="VARCHAR" property="data" /> | |||||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | ||||
| </resultMap> | </resultMap> | ||||
| @@ -3,7 +3,7 @@ | |||||
| <mapper namespace="com.simple.mapper.WxCUserCloudMapper"> | <mapper namespace="com.simple.mapper.WxCUserCloudMapper"> | ||||
| <resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserCloud"> | <resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserCloud"> | ||||
| <id column="id" jdbcType="INTEGER" property="id" /> | <id column="id" jdbcType="INTEGER" property="id" /> | ||||
| <result column="cloud_data" jdbcType="JSON" property="cloudData" /> | |||||
| <result column="cloud_data" jdbcType="VARCHAR" property="cloudData" /> | |||||
| <result column="c_user_id" jdbcType="INTEGER" property="cUserId" /> | <result column="c_user_id" jdbcType="INTEGER" property="cUserId" /> | ||||
| </resultMap> | </resultMap> | ||||
| @@ -4,7 +4,7 @@ | |||||
| <resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserTags"> | <resultMap id="BaseResultMap" type="com.simple.domain.po.WxCUserTags"> | ||||
| <id column="id" jdbcType="INTEGER" property="id" /> | <id column="id" jdbcType="INTEGER" property="id" /> | ||||
| <result column="user_id" jdbcType="INTEGER" property="userId" /> | <result column="user_id" jdbcType="INTEGER" property="userId" /> | ||||
| <result column="tags" jdbcType="JSON" property="tags" /> | |||||
| <result column="tags" jdbcType="VARCHAR" property="tags" /> | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="allColumns"> | <sql id="allColumns"> | ||||
| @@ -19,7 +19,7 @@ | |||||
| <result column="detail" jdbcType="VARCHAR" property="detail" /> | <result column="detail" jdbcType="VARCHAR" property="detail" /> | ||||
| <result column="send_type" jdbcType="INTEGER" property="sendType" /> | <result column="send_type" jdbcType="INTEGER" property="sendType" /> | ||||
| <result column="target_ad" jdbcType="INTEGER" property="targetAd" /> | <result column="target_ad" jdbcType="INTEGER" property="targetAd" /> | ||||
| <result column="businesses" jdbcType="JSON" property="businesses" /> | |||||
| <result column="businesses" jdbcType="VARCHAR" property="businesses" /> | |||||
| <result column="price" jdbcType="DECIMAL" property="price" /> | <result column="price" jdbcType="DECIMAL" property="price" /> | ||||
| <result column="number" jdbcType="INTEGER" property="number" /> | <result column="number" jdbcType="INTEGER" property="number" /> | ||||
| <result column="total" jdbcType="INTEGER" property="total" /> | <result column="total" jdbcType="INTEGER" property="total" /> | ||||
| @@ -13,7 +13,7 @@ | |||||
| <result column="price" jdbcType="DECIMAL" property="price" /> | <result column="price" jdbcType="DECIMAL" property="price" /> | ||||
| <result column="sale_price" jdbcType="DECIMAL" property="salePrice" /> | <result column="sale_price" jdbcType="DECIMAL" property="salePrice" /> | ||||
| <result column="use_price" jdbcType="DECIMAL" property="usePrice" /> | <result column="use_price" jdbcType="DECIMAL" property="usePrice" /> | ||||
| <result column="business" jdbcType="JSON" property="business" /> | |||||
| <result column="business" jdbcType="VARCHAR" property="business" /> | |||||
| <result column="status" jdbcType="INTEGER" property="status" /> | <result column="status" jdbcType="INTEGER" property="status" /> | ||||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | ||||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate" /> | <result column="update_date" jdbcType="TIMESTAMP" property="updateDate" /> | ||||
| @@ -10,8 +10,8 @@ | |||||
| <result column="expect_send_number" jdbcType="VARCHAR" property="expectSendNumber" /> | <result column="expect_send_number" jdbcType="VARCHAR" property="expectSendNumber" /> | ||||
| <result column="success_number" jdbcType="VARCHAR" property="successNumber" /> | <result column="success_number" jdbcType="VARCHAR" property="successNumber" /> | ||||
| <result column="error_number" jdbcType="VARCHAR" property="errorNumber" /> | <result column="error_number" jdbcType="VARCHAR" property="errorNumber" /> | ||||
| <result column="return_result" jdbcType="JSON" property="returnResult" /> | |||||
| <result column="phones" jdbcType="JSON" property="phones" /> | |||||
| <result column="return_result" jdbcType="VARCHAR" property="returnResult" /> | |||||
| <result column="phones" jdbcType="VARCHAR" property="phones" /> | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="allColumns"> | <sql id="allColumns"> | ||||
| @@ -3,7 +3,7 @@ | |||||
| <mapper namespace="com.simple.mapper.WxWebLogMapper"> | <mapper namespace="com.simple.mapper.WxWebLogMapper"> | ||||
| <resultMap id="BaseResultMap" type="com.simple.domain.po.WxWebLog"> | <resultMap id="BaseResultMap" type="com.simple.domain.po.WxWebLog"> | ||||
| <id column="id" jdbcType="INTEGER" property="id" /> | <id column="id" jdbcType="INTEGER" property="id" /> | ||||
| <result column="data" jdbcType="JSON" property="data" /> | |||||
| <result column="data" jdbcType="VARCHAR" property="data" /> | |||||
| <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | <result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> | ||||
| </resultMap> | </resultMap> | ||||