This commit is contained in:
lu7213 committed 2026-05-10 05:16:10 -04:00
1 parent 36e5ab3308
commit b77f5b0701
6 files changed
+54 -16

No files matched your search

@@ -4,14 +4,7 @@ import com.ruoyi.common.select.SelectItem;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
@@ -82,7 +75,15 @@ public class DmPlayerConfigController extends BaseController
{
return AjaxResult.success(dmPlayerConfigService.selectDmPlayerConfigById(id));
}
/**
* 获取玩家配置详细信息
*/
@PreAuthorize("@ss.hasPermi('system:dmplayerconfig:query-by-player-id')")
@GetMapping(value = "/query-by-player-id")
public AjaxResult getInfoByPlayerId(@RequestParam("id") Long id)
{
return AjaxResult.success(dmPlayerConfigService.selectDmPlayerConfigByPlayerId(id));
}
/**
* 新增玩家配置
*/