新增代理明细列表

This commit is contained in:
lu7213 committed 2026-10-12 03:26:55 -04:00
1 parent 81febe2c56
commit df5512838b
12 files changed
+266 -37

No files matched your search

@@ -24,19 +24,19 @@ import java.util.List;
* @date 2026-10-12
*/
@RestController
@RequestMapping("/system/otherToDelegation")
@RequestMapping("/system/delegationToOther")
public class UsdtDelegationToOtherController extends BaseController {
@Autowired
private IUsdtProxyToOtherService usdtProxyToOtherService;
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:getByIds')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:getByIds')")
@PostMapping("/getByIds")
public AjaxResult getByIds(@RequestBody Ids ids) {
List<UsdtDelegationToOtherPlus> list = usdtProxyToOtherService.getByIds(ids.getLongIds(), UsdtDelegationToOtherPlus::getToken, UsdtDelegationToOtherPlus::getId);
return AjaxResult.success(list);
}
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:select')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:select')")
@GetMapping("/select")
public AjaxResult select(String keyword) {
List<SelectItem> list = usdtProxyToOtherService.select(keyword);
@@ -46,7 +46,7 @@ public class UsdtDelegationToOtherController extends BaseController {
/**
* 查询代理给其他地址列表
*/
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:list')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:list')")
@GetMapping("/list")
public TableDataInfo list(UsdtDelegationToOther usdtDelegationToOther) {
startPage();
@@ -57,7 +57,7 @@ public class UsdtDelegationToOtherController extends BaseController {
/**
* 导出代理给其他地址列表
*/
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:export')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:export')")
@Log(title = "代理给其他地址", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(UsdtDelegationToOther usdtDelegationToOther) {
@@ -69,7 +69,7 @@ public class UsdtDelegationToOtherController extends BaseController {
/**
* 获取代理给其他地址详细信息
*/
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:query')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(usdtProxyToOtherService.selectUsdtDelegationToOtherById(id));
@@ -78,7 +78,7 @@ public class UsdtDelegationToOtherController extends BaseController {
/**
* 新增代理给其他地址
*/
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:add')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:add')")
@Log(title = "代理给其他地址", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody UsdtDelegationToOther usdtDelegationToOther) {
@@ -88,7 +88,7 @@ public class UsdtDelegationToOtherController extends BaseController {
/**
* 修改代理给其他地址
*/
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:edit')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:edit')")
@Log(title = "代理给其他地址", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody UsdtDelegationToOther usdtDelegationToOther) {
@@ -98,7 +98,7 @@ public class UsdtDelegationToOtherController extends BaseController {
/**
* 删除代理给其他地址
*/
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:remove')")
@PreAuthorize("@ss.hasPermi('system:delegationToOther:remove')")
@Log(title = "代理给其他地址", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {