package com.fdkankan.manage.controller; import com.fdkankan.manage.common.ResultData; import com.fdkankan.manage.entity.JyPlatform; import com.fdkankan.manage.entity.JyUser; import com.fdkankan.manage.service.IJyPlatformService; import com.fdkankan.manage.service.IJyUserService; import com.fdkankan.manage.vo.request.JyPlatformParam; import com.fdkankan.manage.vo.request.UserParam; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; /** *
* 前端控制器 *
* * @author * @since 2024-11-14 */ @RestController @RequestMapping("/service/manage/index") public class IndexController { @Autowired IJyPlatformService jyPlatformService; @Autowired IJyUserService jyUserService; @GetMapping("/addressKey/{address}") public ResultData getByAddress(@PathVariable String address){ return ResultData.ok(jyPlatformService.getByAddress(address)); } @GetMapping("test") public ResultData test(){ UserParam userParam = new UserParam(); userParam.setRyId("11"); userParam.setRyNo("122"); List