摘要: 后端 ActivityController.java @PreAuthorize("hasPermission('tienchin:activity:remove')") @Log(title = "活动管理", businessType = BusinessType.DELETE) @Delete 阅读全文
posted @ 2023-09-22 01:38 BNTang 阅读(22) 评论(0) 推荐(0)
摘要: 后端 ChannelController.java @PreAuthorize("hasPermission('tienchin:channel:edit')") @GetMapping("/{channelId}") AjaxResult getInfo(@PathVariable Long ch 阅读全文
posted @ 2023-09-22 01:34 BNTang 阅读(21) 评论(0) 推荐(0)
摘要: 前端 activity.js 直接替换现有的,最求速度了,后面在详细一个个记录,不在过多解释了。 import request from '@/utils/request' /** * 查询活动列表 * @param query 查询条件参数 * @returns {*} 查询结果 */ expor 阅读全文
posted @ 2023-09-22 01:29 BNTang 阅读(53) 评论(0) 推荐(0)
摘要: 略过。 阅读全文
posted @ 2023-09-22 01:28 BNTang 阅读(15) 评论(0) 推荐(0)
摘要: 后端 ActivityController.java @Resource private IChannelService iChannelService; /** * 获取渠道列表 * * @return 渠道列表 */ @PreAuthorize("hasPermission('tienchin: 阅读全文
posted @ 2023-09-22 01:12 BNTang 阅读(50) 评论(0) 推荐(0)
摘要: ActivityController @PreAuthorize("hasPermission('tienchin:activity:create')") @Log(title = "活动管理", businessType = BusinessType.INSERT) @PostMapping pu 阅读全文
posted @ 2023-09-22 01:08 BNTang 阅读(31) 评论(0) 推荐(0)
摘要: 修改字典 修改活动状态字典,将之前的数据键值为 0 的数据标签内容改为 过期: 更改下数据库的描述,禁用改为过期: ALTER TABLE `tienchin_activity` MODIFY COLUMN `activity_status` int NULL DEFAULT NULL COMMEN 阅读全文
posted @ 2023-09-22 01:02 BNTang 阅读(24) 评论(0) 推荐(0)
摘要: 后端 ActivityVO /** * @author BNTang * @version 1.0 * @description 活动管理VO * @since 2023-23-05 **/ public class ActivityVO extends BaseEntity { /** * 活动I 阅读全文
posted @ 2023-09-22 00:55 BNTang 阅读(50) 评论(0) 推荐(0)
摘要: 工程模块的创建,与之前创建渠道管理一样的,所以这里就不贴图带着大家一起动手进行了,表结构我已经给到大家了,这里我只贴一下代码生成器的代码部分即可。 @Test void generateActivity() { String path = "E:\\Desktop\\TienChin\\tiench 阅读全文
posted @ 2023-09-22 00:03 BNTang 阅读(26) 评论(0) 推荐(0)