全接口 需要登录
数据库线程池大小 获取提现规则
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user