liusheng
2024-07-23 0123a0bd06f83a2a973023bb2f197e21118ef293
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/tools/BaseSmsaccountController.java
@@ -39,8 +39,8 @@
     * 查询短信账号列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')")
    @GetMapping("/list")
    public TableDataInfo list(BaseSmsaccount baseSmsaccount) {
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody BaseSmsaccount baseSmsaccount) {
        startPage();
        List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount);
        return getDataTable(list);
@@ -82,7 +82,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:edit')")
    @Log(title = "短信账号", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody BaseSmsaccount baseSmsaccount) {
        return toAjax(baseSmsaccountService.updateBaseSmsaccount(baseSmsaccount));
    }
@@ -92,7 +92,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:remove')")
    @Log(title = "短信账号", businessType = BusinessType.DELETE)
    @DeleteMapping("/{smsacountids}")
    @GetMapping("/remove/{smsacountids}")
    public AjaxResult remove(@PathVariable Long[] smsacountids) {
        return toAjax(baseSmsaccountService.deleteBaseSmsaccountBySmsacountids(smsacountids));
    }