修复阿里云短信剩余条数接口

This commit is contained in:
wenhui 2022-03-04 17:22:27 +08:00
parent 09e2aa129c
commit ee07b0953a
2 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,10 @@ import com.xhpc.common.log.annotation.Log;
import com.xhpc.common.log.enums.BusinessType;
import com.xhpc.general.service.IXhpcServiceDataUpdateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
* program: ruoyi
@ -26,7 +29,7 @@ public class XhpcServiceDataUpdateController {
}
@Log(title = "小程序设置-修改", businessType = BusinessType.UPDATE)
@PostMapping("/update")
@GetMapping("/update")
public AjaxResult update(@RequestParam(required = false) String SOC, @RequestParam(required = false) String version, @RequestParam(required = false) String phone, @RequestParam(required = false) String aliyunMessageCount) {
return xhpcServiceDataUpdateService.update(SOC, version, phone, aliyunMessageCount);

View File

@ -29,7 +29,7 @@ public class XhpcServiceDataUpdateServiceImpl implements IXhpcServiceDataUpdateS
list.put("SOC",cacheSOC);
list.put("version",cacheVersion);
list.put("phone", cachePhone);
list.put("AliyunMessageCount", cacheAliyunMessageCount);
list.put("aliyunMessageCount", cacheAliyunMessageCount);
return list;
}