全接口 需要登录

数据库线程池大小
获取提现规则
This commit is contained in:
2024-12-28 09:03:34 +08:00
parent 8bfa7dd4c4
commit 55476d4936
5 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
package com.sqx.modules.common.controller.app;
import com.sqx.common.utils.Result;
import com.sqx.modules.app.annotation.Login;
import com.sqx.modules.common.service.CommonInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@@ -46,6 +47,7 @@ public class AppCommonController {
" 20后台管理平台域名配置\n" +
" 22拼多多优惠券地址")
@ResponseBody
@Login
public Result getCommonList(@PathVariable Integer type) {
return commonService.findByType(type);
}

View File

@@ -29,6 +29,7 @@ public class AppCourseController extends AbstractController {
@Autowired
private RedisUtils redisUtils;
@Login
@GetMapping("/selectCourse")
@ApiOperation("查询短剧信息")
public Result selectCourse(@ApiParam("") Integer page, @ApiParam("") Integer limit, @ApiParam("分类id") Long classifyId,

View File

@@ -53,6 +53,7 @@ public class AppMessageController {
@RequestMapping(value = "/selectMessage", method = RequestMethod.GET)
@ApiOperation("查询用户消息")
@ResponseBody
@Login
public Result selectMessage(int page, int limit,Integer state){
Map<String,Object> map=new HashMap<>();
map.put("page",page);

View File

@@ -106,7 +106,7 @@ public class WuyouPay {
public static boolean checkCanCashByLimit(BigDecimal money) {
CommonInfo info = commonInfoService.findOne(923);
if (info == null || StrUtil.isNotBlank(info.getValue())) {
if (info == null || StrUtil.isBlank(info.getValue())) {
logger.warn("未配置提现限制,请联系管理员配置");
return false;
}

View File

@@ -7,7 +7,7 @@ spring:
username: video_user
password: VideoUser@1
initial-size: 10
max-active: 100
max-active: 50
min-idle: 10
max-wait: 60000
pool-prepared-statements: true