|
@@ -0,0 +1,31 @@
|
|
|
+package com.persagy.dmp.auth.client;
|
|
|
+
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.persagy.dmp.auth.domain.Group;
|
|
|
+import com.persagy.dmp.auth.domain.ResultReturn;
|
|
|
+import com.persagy.dmp.common.model.response.CommonResult;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+
|
|
|
+/**
|
|
|
+ * paas-account服务
|
|
|
+ * @author : lijie
|
|
|
+ * Update By 2022/1/10 18:18
|
|
|
+ */
|
|
|
+@FeignClient(name = "paas-account",fallbackFactory = PassAccountFallbackFactory.class,
|
|
|
+ url = "${boss.paas.account.service:}",path = "/paas")
|
|
|
+public interface PassAccountClient {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * BOSS平台的登录接口
|
|
|
+ * @param param : 请求参数
|
|
|
+ * @return : com.persagy.dmp.common.model.response.CommonResult<java.lang.String>
|
|
|
+ * @author : lijie
|
|
|
+ * Update By 2022/1/10 18:20
|
|
|
+ */
|
|
|
+ @PostMapping(value = "/account/login")
|
|
|
+ CommonResult<String> accountLogin(@RequestBody Object param);
|
|
|
+
|
|
|
+
|
|
|
+}
|