-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from lotteon2/dev-user-admin
Dev user admin
Showing
12 changed files
with
50 additions
and
164 deletions.
There are no files selected for viewing
20 changes: 0 additions & 20 deletions
20
src/main/java/com/bit/lotte/flower/user/admin/dto/SettlementDto.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
src/main/java/com/bit/lotte/flower/user/admin/dto/StoreDto.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
src/main/java/com/bit/lotte/flower/user/admin/dto/response/SettlementResponse.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/com/bit/lotte/flower/user/admin/http/service/SystemManagementService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.bit.lotte.flower.user.admin.http.service; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class SystemManagementService { | ||
|
||
|
||
|
||
|
||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/bit/lotte/flower/user/common/WebConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.bit.lotte.flower.user.common; | ||
|
||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.web.servlet.config.annotation.CorsRegistry; | ||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; | ||
|
||
@Configuration | ||
public class WebConfig implements WebMvcConfigurer { | ||
|
||
@Override | ||
public void addCorsMappings(CorsRegistry registry) { | ||
registry.addMapping("/**") | ||
.allowedOrigins("http://localhost:3000", "http://localhost:3001", "http://localhost:3002") | ||
.allowedMethods("*") | ||
.allowedHeaders("*") | ||
.exposedHeaders("*") | ||
.allowCredentials(true); | ||
|
||
} | ||
} |
24 changes: 0 additions & 24 deletions
24
src/main/java/com/bit/lotte/flower/user/dto/StoreInfoDto.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/java/com/bit/lotte/flower/user/dto/StoreInfoResponse.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,21 @@ | ||
|
||
server: | ||
port: 8600 | ||
|
||
spring: | ||
mvc: | ||
pathmatch: | ||
matching-strategy: ant_path_matcher | ||
application: | ||
name: user-service | ||
config: | ||
activate: | ||
on-profile: local | ||
import: optional:configserver:http://localhost:8888 | ||
|
||
datasource: | ||
url: jdbc:mysql://localhost:3306/develop?serverTimezone=Asia/Seoul&useUnicode=true&characterEncoding=utf8 | ||
username: root | ||
password: 123456 | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
|
||
jpa: | ||
hibernate: | ||
ddl-auto: create | ||
show-sql: true | ||
|
||
management: | ||
endpoints: | ||
web: | ||
exposure: | ||
include: | ||
- "refresh" | ||
- "bus-refresh" | ||
service: | ||
store: | ||
domain : http://localhost:8700 | ||
likes: | ||
domain : http://localhost:8500 | ||
auth: | ||
domain : http://localhost:9000 | ||
- "health" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters