|
@@ -0,0 +1,15 @@
|
|
|
+package com.miaxis.common.config;
|
|
|
+
|
|
|
+import lombok.Data;
|
|
|
+import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+@Data
|
|
|
+@Component
|
|
|
+@ConfigurationProperties(prefix = "wai")
|
|
|
+public class WaiConfig {
|
|
|
+
|
|
|
+ private String clientId;
|
|
|
+ private String clientSecret;
|
|
|
+ private String pid;
|
|
|
+}
|