Skip to content

Latest commit

 

History

History
47 lines (43 loc) · 2.94 KB

README.md

File metadata and controls

47 lines (43 loc) · 2.94 KB

ENV

  • springboot http-server (oracle 8)
  • Mariadb(10.7.1)
  • mybatis

DataSource notify

  1. src -> main -> resource -> application.properties

  2. spring.datasource.url -> jdbc:mysql://urdb:port/database?....

  3. spring.datasource.username=username spring.datasource.password=password

打包取得新jar檔,取代「demo-0.0.1-snapshot.jar」

Blog_Repository tag

API Test

post -- http://url:8890/player 
header:
[{"key":"Content-type","value":"application/json","description":""}]
body:
    {
     "id":"A0009",
     "playerName":"nickname",
     "job":"jobName",
     "level":9
    }
GET -- http://url:8890/player/A0008
header:
[{"key":"Content-type","value":"application/json","description":""}]
GET -- http://url:8890/player/
header:
[{"key":"Content-type","value":"application/json","description":""}]