30 changed files with 81 additions and 64 deletions
@ -1,9 +1,9 @@
|
||||
package org.springblade.demo.vo; |
||||
package com.example.demo.vo; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.demo.entity.Notice; |
||||
import com.example.demo.entity.Notice; |
||||
|
||||
/** |
||||
* 通知公告视图类 |
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="org.springblade.demo.mapper.NoticeMapper"> |
||||
<mapper namespace="com.example.demo.mapper.NoticeMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="noticeResultMap" type="org.springblade.demo.entity.Notice"> |
||||
<resultMap id="noticeResultMap" type="com.example.demo.entity.Notice"> |
||||
<result column="id" property="id"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="create_time" property="createTime"/> |
@ -1,4 +1,4 @@
|
||||
package org.springblade.demo.props; |
||||
package com.example.demo.props; |
||||
|
||||
import lombok.Data; |
||||
import org.springframework.boot.context.properties.ConfigurationProperties; |
@ -0,0 +1,27 @@
|
||||
#mybatis-plus配置 |
||||
mybatis-plus: |
||||
mapper-locations: classpath:com/example/**/mapper/*Mapper.xml |
||||
#实体扫描,多个package用逗号或者分号分隔 |
||||
typeAliasesPackage: com.example.**.entity |
||||
|
||||
#swagger扫描路径配置 |
||||
swagger: |
||||
base-packages: |
||||
- org.springbalde |
||||
- com.example |
||||
|
||||
minio: |
||||
enable: true |
||||
tenant-mode: false |
||||
endpoint: http://127.0.0.1:9000 |
||||
access-key: D99KGE6ZTQXSATTJWU24 |
||||
secret-key: QyVqGnhIQQE734UYSUFlGOZViE6+ZlDEfUG3NjhJ |
||||
bucket-name: bladex |
||||
|
||||
qiniu: |
||||
enable: true |
||||
tenant-mode: false |
||||
endpoint: prv0t4ij6.bkt.clouddn.com |
||||
access-key: N_Loh1ngBqcJovwiAJqR91Ifj2vgOWHOf8AwBA_h |
||||
secret-key: AuzuA1KHAbkIndCU0dB3Zfii2O3crHNODDmpxHRS |
||||
bucket-name: bladex |
Loading…
Reference in new issue