新增代理明细列表
This commit is contained in:
1 parent
81febe2c56
commit
df5512838b
12 files changed
+266
-37
No files matched your search
+9
-9
@@ -24,19 +24,19 @@ import java.util.List;
|
||||
* @date 2026-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/system/delegationToOther")
|
||||
@RequestMapping("/system/otherToDelegation")
|
||||
public class UsdtOtherToDelegationController extends BaseController {
|
||||
@Autowired
|
||||
private IUsdtOtherToProxyService usdtOtherToProxyService;
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:getByIds')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:getByIds')")
|
||||
@PostMapping("/getByIds")
|
||||
public AjaxResult getByIds(@RequestBody Ids ids) {
|
||||
List<UsdtOtherToDelegationPlus> list = usdtOtherToProxyService.getByIds(ids.getLongIds(), UsdtOtherToDelegationPlus::getToken, UsdtOtherToDelegationPlus::getId);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:select')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:select')")
|
||||
@GetMapping("/select")
|
||||
public AjaxResult select(String keyword) {
|
||||
List<SelectItem> list = usdtOtherToProxyService.select(keyword);
|
||||
@@ -46,7 +46,7 @@ public class UsdtOtherToDelegationController extends BaseController {
|
||||
/**
|
||||
* 查询其他地址代理列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:list')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(UsdtOtherToDelegation usdtOtherToDelegation) {
|
||||
startPage();
|
||||
@@ -57,7 +57,7 @@ public class UsdtOtherToDelegationController extends BaseController {
|
||||
/**
|
||||
* 导出其他地址代理列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:export')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:export')")
|
||||
@Log(title = "其他地址代理", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(UsdtOtherToDelegation usdtOtherToDelegation) {
|
||||
@@ -69,7 +69,7 @@ public class UsdtOtherToDelegationController extends BaseController {
|
||||
/**
|
||||
* 获取其他地址代理详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:query')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(usdtOtherToProxyService.selectUsdtOtherToDelegationById(id));
|
||||
@@ -78,7 +78,7 @@ public class UsdtOtherToDelegationController extends BaseController {
|
||||
/**
|
||||
* 新增其他地址代理
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:add')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:add')")
|
||||
@Log(title = "其他地址代理", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody UsdtOtherToDelegation usdtOtherToDelegation) {
|
||||
@@ -88,7 +88,7 @@ public class UsdtOtherToDelegationController extends BaseController {
|
||||
/**
|
||||
* 修改其他地址代理
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:edit')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:edit')")
|
||||
@Log(title = "其他地址代理", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody UsdtOtherToDelegation usdtOtherToDelegation) {
|
||||
@@ -98,7 +98,7 @@ public class UsdtOtherToDelegationController extends BaseController {
|
||||
/**
|
||||
* 删除其他地址代理
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:delegationToOther:remove')")
|
||||
@PreAuthorize("@ss.hasPermi('system:otherToDelegation:remove')")
|
||||
@Log(title = "其他地址代理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
|
||||
Reference in new issue
Block a user