Skip to content
Snippets Groups Projects

Lijianfei ddd

Merged 夏启航 requested to merge lijianfei_ddd into master
Compare and
41 files
+ 332
256
Compare changes
  • Side-by-side
  • Inline
Files
41
package com.seasky.dddtemplate.api;
import com.seasky.core.common.Result;
import com.seasky.dddtemplate.dto.test.TestCmd;
import com.seasky.dddtemplate.dto.test.TestQueryOut;
import com.seasky.dddtemplate.dto.test.TestQueryQry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@FeignClient("dddtemplate-provider")
@RequestMapping("test")
public interface ITest {
@PostMapping(path = "/pc/v1/add")
Result<Integer> testC(@RequestBody TestCmd testCmd);
@PostMapping(path = "/pc/v1/queryList")
Result<TestQueryOut> testQ(@RequestBody TestQueryQry testQry);
}