|
|
@@ -0,0 +1,18 @@
|
|
|
+package com.usoftchina.saas.document.api;
|
|
|
+
|
|
|
+import com.usoftchina.saas.base.Result;
|
|
|
+import com.usoftchina.saas.document.entities.Address;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+
|
|
|
+@FeignClient(name = "document-server")
|
|
|
+public interface AddressApi {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取默认地址
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/getDefault")
|
|
|
+ Result<Address> getDefault();
|
|
|
+
|
|
|
+}
|