Commit fd1f9f6a by 吕明尚

小程序增加查询接口

parent 4a87fc9e
...@@ -5,6 +5,7 @@ import org.springframework.web.bind.annotation.GetMapping; ...@@ -5,6 +5,7 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import share.common.core.controller.BaseController; import share.common.core.controller.BaseController;
import share.common.core.domain.R;
import share.common.core.page.TableDataInfo; import share.common.core.page.TableDataInfo;
import share.system.domain.vo.SecondaryCardConfVo; import share.system.domain.vo.SecondaryCardConfVo;
import share.system.service.SecondaryCardConfService; import share.system.service.SecondaryCardConfService;
...@@ -33,4 +34,12 @@ public class SecondaryCardConfController extends BaseController { ...@@ -33,4 +34,12 @@ public class SecondaryCardConfController extends BaseController {
return getDataTable(list); return getDataTable(list);
} }
/**
* 查询次卡配置列表
*/
@GetMapping("/query")
public R<List<SecondaryCardConfVo>> query() {
return R.ok(secondaryCardConfService.selectSecondaryCardConfList(null));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment