字典补充注解
This commit is contained in:
@ -6,6 +6,7 @@ import com.chinaunicom.mall.ebtp.common.base.fallback.DictClientFallback;
|
|||||||
import com.chinaunicom.mall.ebtp.common.constant.ServiceNameConstants;
|
import com.chinaunicom.mall.ebtp.common.constant.ServiceNameConstants;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.cloud.openfeign.SpringQueryMap;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -25,10 +26,10 @@ public interface DictClient {
|
|||||||
*/
|
*/
|
||||||
@ApiOperation("查询数据集合")
|
@ApiOperation("查询数据集合")
|
||||||
@GetMapping("/v1/dictProject/selectDictList")
|
@GetMapping("/v1/dictProject/selectDictList")
|
||||||
BaseResponse<List<DictProject>> selectDictList(DictProject dictProject);
|
BaseResponse<List<DictProject>> selectDictList(@SpringQueryMap DictProject dictProject);
|
||||||
|
|
||||||
@ApiOperation("查询数据集合(支持详情查询)")
|
@ApiOperation("查询数据集合(支持详情查询)")
|
||||||
@GetMapping("/v1/dictProject/getDictList")
|
@GetMapping("/v1/dictProject/getDictList")
|
||||||
BaseResponse<List<DictProject>> getDictList(DictProject dictProject);
|
BaseResponse<List<DictProject>> getDictList(@SpringQueryMap DictProject dictProject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user