Helius
2021-06-28 8b680a3252aca370b49be3edf8aa5ac1a6865c49
modify
1 files modified
5 ■■■■■ changed files
gc-user/src/main/java/com/xzx/gc/user/controller/AdminJhyInfoController.java 5 ●●●●● patch | view | raw | blame | history
gc-user/src/main/java/com/xzx/gc/user/controller/AdminJhyInfoController.java
@@ -8,6 +8,8 @@
import com.xzx.gc.user.vo.JhyInfoListVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
@@ -25,6 +27,9 @@
    private JhyInfoService jhyInfoService;
    @ApiOperation(value = "集货员信息列表")
    @ApiResponses(
            @ApiResponse(code = 200, message = "success", response = JhyInfoListVo.class)
    )
    @PostMapping(value = Constants.ADMIN_VIEW_PREFIX + "/jhy/list.json")
    public JsonResult<Map<String, Object>> jhyList(@RequestBody JhyInfoListDto jhyInfoListDto) {
        return JsonResult.success(jhyInfoService.queryList(jhyInfoListDto));