|
@@ -102,14 +102,12 @@ public class KuaiShouGroupTemplateController {
|
|
*/
|
|
*/
|
|
@GetMapping(value = "/getApiCreateCount")
|
|
@GetMapping(value = "/getApiCreateCount")
|
|
public Result<Integer> getApiCreateCount(Long accountId) {
|
|
public Result<Integer> getApiCreateCount(Long accountId) {
|
|
-
|
|
|
|
Result<Integer> result = new Result<>();
|
|
Result<Integer> result = new Result<>();
|
|
try {
|
|
try {
|
|
if (Check.isNull(accountId)) {
|
|
if (Check.isNull(accountId)) {
|
|
throw new Exception("accountId参数不能为空");
|
|
throw new Exception("accountId参数不能为空");
|
|
}
|
|
}
|
|
String date = DateUtils.getNowDate("yyyy-MM-dd");
|
|
String date = DateUtils.getNowDate("yyyy-MM-dd");
|
|
-
|
|
|
|
Integer count = kuaiShouGroupTemplateService.getApiCreateCount(accountId, date);
|
|
Integer count = kuaiShouGroupTemplateService.getApiCreateCount(accountId, date);
|
|
result.setSuccess(true);
|
|
result.setSuccess(true);
|
|
result.setResult(count);
|
|
result.setResult(count);
|