| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- package com.fdkankan.manage.controller;
- import com.fdkankan.manage.common.ResultData;
- import com.fdkankan.manage.entity.JyPlatform;
- import com.fdkankan.manage.service.IJyPlatformService;
- import com.fdkankan.manage.service.IJyUserPlatformService;
- import com.fdkankan.manage.vo.request.JyPlatformParam;
- import com.fdkankan.manage.vo.request.JyPlatformVo;
- import com.fdkankan.manage.vo.request.JyUserPlatformAddParam;
- import com.fdkankan.manage.vo.request.JyUserPlatformParam;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- /**
- * <p>
- * 前端控制器
- * </p>
- *
- * @author
- * @since 2024-11-15
- */
- @RestController
- @RequestMapping("/service/manage/jyUserPlatform")
- public class JyUserPlatformController {
- @Autowired
- IJyUserPlatformService jyUserPlatformService;
- @PostMapping("/queryByKey")
- public ResultData queryByKey(@RequestBody JyUserPlatformParam param){
- return ResultData.ok(jyUserPlatformService.queryByKey(param));
- }
- @PostMapping("/list")
- public ResultData list(@RequestBody JyUserPlatformParam param){
- return ResultData.ok(jyUserPlatformService.pageList(param));
- }
- @PostMapping("/add")
- public ResultData add(@RequestBody JyUserPlatformAddParam param){
- jyUserPlatformService.addByParam(param);
- return ResultData.ok();
- }
- @PostMapping("/update")
- public ResultData update(@RequestBody JyUserPlatformAddParam param){
- jyUserPlatformService.updateByParam(param);
- return ResultData.ok();
- }
- @PostMapping("/del")
- public ResultData del(@RequestBody JyUserPlatformAddParam param){
- jyUserPlatformService.del(param);
- return ResultData.ok();
- }
- @PostMapping("/addWaitUser")
- public ResultData addWaitUser(@RequestBody JyUserPlatformAddParam param){
- jyUserPlatformService.addWaitUser(param);
- return ResultData.ok();
- }
- }
|