Compare commits
3 Commits
baab33c805
...
4e101697cf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e101697cf | ||
|
|
2aec16675c | ||
|
|
600691b69b |
@ -77,12 +77,17 @@ public class MemberBlacklistController extends BaseController {
|
||||
|
||||
/**
|
||||
* 新增黑名单
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('member:blacklist:add')")
|
||||
*
|
||||
* @param memberBlacklist {@link MemberBlacklist}
|
||||
* @return com.ruoyi.common.core.domain.AjaxResult
|
||||
* @author PQZ
|
||||
* @date 15:05 2025/4/23
|
||||
**/
|
||||
@Log(title = "黑名单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
@PostMapping("/saveBlack")
|
||||
public AjaxResult add(@RequestBody MemberBlacklist memberBlacklist) {
|
||||
return toAjax(memberBlacklistService.save(memberBlacklist));
|
||||
memberBlacklistService.save(memberBlacklist);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -7,6 +7,7 @@ spring:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://124.222.105.7:3306/dl_notice?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# url: jdbc:mysql://82.156.161.160:3306/dl_notice?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: dl_notice
|
||||
password: 123456
|
||||
# 从库数据源
|
||||
|
||||
@ -16,7 +16,7 @@ ruoyi:
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 8099
|
||||
port: 8080
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
@ -145,8 +145,8 @@ xss:
|
||||
urlPatterns: /system/*,/monitor/*,/tool/*
|
||||
# 微信小程序配置----dl
|
||||
wx-app:
|
||||
appId: wxd8ef44a8268672e4
|
||||
appSecret: 30c18855ceb0ab0f9801407c998199c2
|
||||
appId: wxd96fda6510adb6d3
|
||||
appSecret: 2d3bf7172d09966bd98e1611117c2cb0
|
||||
wxpay:
|
||||
#微信公众号appid
|
||||
appId: wx7d10b0fa4886a583
|
||||
|
||||
Loading…
Reference in New Issue
Block a user