Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
48590596
Commit
48590596
authored
Mar 18, 2021
by
chentian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imageapi基础配置
parent
ecac2f02
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
76 additions
and
0 deletions
+76
-0
serviceapi/imageapi/src/main/java/ImageApiApplication.java
+14
-0
serviceapi/imageapi/src/main/java/com/founder/modules/ytlf/controller/test.java
+7
-0
serviceapi/imageapi/src/main/java/com/founder/modules/ytlf/mapper/TbStAsjBzMapper.java
+19
-0
serviceapi/imageapi/src/main/java/com/founder/modules/ytlf/mapper/xml/TbStAsjBzMapper.xml
+5
-0
serviceapi/imageapi/src/main/resources/application-dev.properties
+6
-0
serviceapi/imageapi/src/main/resources/application-prod.properties
+6
-0
serviceapi/imageapi/src/main/resources/application.properties
+19
-0
No files found.
serviceapi/imageapi/src/main/java/ImageApiApplication.java
0 → 100644
View file @
48590596
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.context.annotation.ComponentScan
;
@SpringBootApplication
@ComponentScan
(
basePackages
=
{
"com.founder"
})
@MapperScan
(
"com.founder.modules.ytlf.mapper"
)
public
class
ImageApiApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ImageApiApplication
.
class
,
args
);
}
}
serviceapi/imageapi/src/main/java/com/founder/modules/ytlf/controller/test.java
0 → 100644
View file @
48590596
package
com
.
founder
.
modules
.
ytlf
.
controller
;
/**
* Created by Founder on 2021/3/18.
*/
public
class
test
{
}
serviceapi/imageapi/src/main/java/com/founder/modules/ytlf/mapper/TbStAsjBzMapper.java
0 → 100644
View file @
48590596
package
com
.
founder
.
modules
.
ytlf
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.founder.commonutils.asjEntity.TbXwAsjbz
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* <p>
* 案事件标注Mapper 接口
* </p>
*
* @author yangyang
* @since 2021-03-05
*/
@Mapper
public
interface
TbStAsjBzMapper
extends
BaseMapper
<
TbXwAsjbz
>
{
}
serviceapi/imageapi/src/main/java/com/founder/modules/ytlf/mapper/xml/TbStAsjBzMapper.xml
0 → 100644
View file @
48590596
<?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=
"com.founder.modules.ytlf.mapper.TbStAsjBzMapper"
>
</mapper>
serviceapi/imageapi/src/main/resources/application-dev.properties
0 → 100644
View file @
48590596
# oracleݿ
spring.datasource.driver-class-name
=
oracle.jdbc.driver.OracleDriver
spring.datasource.url
=
jdbc:oracle:thin:@47.92.129.99:1600:orcl
spring.datasource.username
=
XZXT
spring.datasource.password
=
XZXT
\ No newline at end of file
serviceapi/imageapi/src/main/resources/application-prod.properties
0 → 100644
View file @
48590596
# oracleݿ
spring.datasource.driver-class-name
=
oracle.jdbc.driver.OracleDriver
spring.datasource.url
=
jdbc:oracle:thin:@10.100.17.120:1521:XZXT
spring.datasource.username
=
XZXT
spring.datasource.password
=
XzxtPwd#15
\ No newline at end of file
serviceapi/imageapi/src/main/resources/application.properties
0 → 100644
View file @
48590596
# 服务端口
server.port
=
2007
# 服务名
spring.application.name
=
imageapi
# 环境设置:dev、test、prod
spring.profiles.active
=
dev
#返回json的全局时间格式
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone
=
GMT+8
#配置mapper xml文件的路径
#mybatis-plus.mapper-locations=classpath:com/founder/modules/ytlf/mapper/xml/*.xml
# 设置日志级别
logging.level.root
=
INFO
#mybatis日志
mybatis-plus.configuration.log-impl
=
org.apache.ibatis.logging.stdout.StdOutImpl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment