修复阿里云短信剩余条数接口
This commit is contained in:
parent
09e2aa129c
commit
ee07b0953a
@ -5,7 +5,10 @@ import com.xhpc.common.log.annotation.Log;
|
|||||||
import com.xhpc.common.log.enums.BusinessType;
|
import com.xhpc.common.log.enums.BusinessType;
|
||||||
import com.xhpc.general.service.IXhpcServiceDataUpdateService;
|
import com.xhpc.general.service.IXhpcServiceDataUpdateService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
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
|
* program: ruoyi
|
||||||
@ -26,7 +29,7 @@ public class XhpcServiceDataUpdateController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Log(title = "小程序设置-修改", businessType = BusinessType.UPDATE)
|
@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) {
|
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);
|
return xhpcServiceDataUpdateService.update(SOC, version, phone, aliyunMessageCount);
|
||||||
|
|||||||
@ -29,7 +29,7 @@ public class XhpcServiceDataUpdateServiceImpl implements IXhpcServiceDataUpdateS
|
|||||||
list.put("SOC",cacheSOC);
|
list.put("SOC",cacheSOC);
|
||||||
list.put("version",cacheVersion);
|
list.put("version",cacheVersion);
|
||||||
list.put("phone", cachePhone);
|
list.put("phone", cachePhone);
|
||||||
list.put("AliyunMessageCount", cacheAliyunMessageCount);
|
list.put("aliyunMessageCount", cacheAliyunMessageCount);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user