GeezerVison is showing github.com — 添加第三方服务,整合OSS对象存储,集成上传文件 · Jackson0714/PassJava-Platform@033800b
File treeExpand file treeCollapse file tree Open diff view settings passjava-channel/src/main java/com/jackson0714/passjava/channel/entity
passjava-content/src/main java/com/jackson0714/passjava/content/entity
passjava-gateway/src/main/resources java/com/jackson0714/passjava/member/entity
java/com/jackson0714/passjava/question resources/mapper/question
test/java/com/jackson0714/passjava/question
java/com/jackson0714/passjava/study/entity
java/com/jackson0714/passjava/thirdparty
test/java/com/jackson0714/passjava/thirdparty
renren-fast/src/main/resources
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: data/sql/passjava_chms_渠道微服务.sql +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ create table chms_channel | 9 | 9 | name varchar(100) comment '渠道名称', | 10 | 10 | appid varchar(100) comment '渠道appid', | 11 | 11 | appsecret varchar(500) comment '渠道appsecret', | 12 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 12 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 13 | 13 | create_time datetime DEFAULT CURRENT_TIMESTAMP comment '创建时间', | 14 | 14 | update_time datetime DEFAULT CURRENT_TIMESTAMP comment '更新时间', | 15 | 15 | primary key (id) | @@ -29,7 +29,7 @@ create table chms_access_token | 29 | 29 | access_token varchar(500) comment 'access_token', | 30 | 30 | expire_time datetime comment '到期时间', | 31 | 31 | channel_id bigint comment '渠道id', | 32 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 32 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 33 | 33 | create_time datetime DEFAULT CURRENT_TIMESTAMP comment '创建时间', | 34 | 34 | update_time datetime DEFAULT CURRENT_TIMESTAMP comment '更新时间', | 35 | 35 | primary key (id) | |
Collapse file Copy file name to clipboardExpand all lines: data/sql/passjava_cms_内容微服务.sql +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ create table cms_banner | 12 | 12 | enable tinyint comment '是否显示', | 13 | 13 | render_type tinyint comment '跳转类型', | 14 | 14 | render_url varchar(500) comment '跳转路径', | 15 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 15 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 16 | 16 | create_time datetime DEFAULT CURRENT_TIMESTAMP comment '创建时间', | 17 | 17 | update_time datetime DEFAULT CURRENT_TIMESTAMP comment '更新时间', | 18 | 18 | primary key (id) | @@ -33,7 +33,7 @@ create table cms_news | 33 | 33 | display_order int comment '排序', | 34 | 34 | render_url varchar(500) comment '跳转路径', | 35 | 35 | enable tinyint comment '是否显示', | 36 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 36 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 37 | 37 | create_time datetime DEFAULT CURRENT_TIMESTAMP comment '创建时间', | 38 | 38 | update_time datetime DEFAULT CURRENT_TIMESTAMP comment '更新时间', | 39 | 39 | primary key (id) | |
Collapse file Copy file name to clipboardExpand all lines: data/sql/passjava_qms_题目微服务.sql +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,13 +7,13 @@ create table qms_question | 7 | 7 | ( | 8 | 8 | id bigint not null auto_increment comment 'id', | 9 | 9 | title varchar(500) comment '题目标题', | 10 | | - answer varchar(2000) comment '题目解答', | | 10 | + answer varchar(15000) comment '题目解答', | 11 | 11 | level tinyint comment '题目难度等级', | 12 | 12 | display_order int comment '排序', | 13 | 13 | sub_title varchar(500) comment '副标题', | 14 | 14 | type bigint comment '题目类型', | 15 | 15 | enable tinyint comment '是否显示', | 16 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 16 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 17 | 17 | create_time datetime default CURRENT_TIMESTAMP comment '创建时间', | 18 | 18 | update_time datetime default CURRENT_TIMESTAMP comment '更新时间', | 19 | 19 | primary key (id) | @@ -32,7 +32,7 @@ create table qms_type | 32 | 32 | type char(64) comment '类型名称', | 33 | 33 | comments char(64) comment '备注', | 34 | 34 | logo_url varchar(500) comment '类型logo路径', | 35 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 35 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 36 | 36 | create_time datetime default CURRENT_TIMESTAMP comment '创建时间', | 37 | 37 | update_time datetime default CURRENT_TIMESTAMP comment '更新时间', | 38 | 38 | primary key (id) | |
Collapse file Copy file name to clipboardExpand all lines: data/sql/passjava_sms_学习微服务.sql +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ create table sms_study_time | 9 | 9 | ques_type bigint comment '题目类型id', | 10 | 10 | member_id bigint comment '用户id', | 11 | 11 | total_time int comment '学习时常(分)', | 12 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 12 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 13 | 13 | create_time datetime default CURRENT_TIMESTAMP comment '创建时间', | 14 | 14 | update_time datetime default CURRENT_TIMESTAMP comment '更新时间', | 15 | 15 | primary key (id) | @@ -28,7 +28,7 @@ create table sms_view_log | 28 | 28 | ques_id bigint comment '题目id', | 29 | 29 | ques_type bigint comment '题目类型id', | 30 | 30 | member_id bigint comment '用户id', | 31 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 31 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 32 | 32 | create_time datetime default CURRENT_TIMESTAMP comment '创建时间', | 33 | 33 | update_time datetime default CURRENT_TIMESTAMP comment '更新时间', | 34 | 34 | primary key (id) | |
Collapse file Copy file name to clipboardExpand all lines: data/sql/passjava_ums_用户微服务.sql +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ create table ums_member | 22 | 22 | source_type tinyint comment '用户来源', | 23 | 23 | integration int comment '积分', | 24 | 24 | register_time datetime comment '注册时间', | 25 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 25 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 26 | 26 | create_time datetime default CURRENT_TIMESTAMP comment '创建时间', | 27 | 27 | update_time datetime default CURRENT_TIMESTAMP comment '更新时间', | 28 | 28 | primary key (id) | @@ -42,7 +42,7 @@ create table ums_growth_change_history | 42 | 42 | change_count int comment '改变的值(正负计数)', | 43 | 43 | note varchar(500) comment '备注', | 44 | 44 | source_type tinyint comment '0->扫码;1->搜索;2->分享', | 45 | | - del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)' | | 45 | + del_flag tinyint(1) DEFAULT 0 COMMENT '删除标记(0-正常,1-删除)', | 46 | 46 | create_time datetime default CURRENT_TIMESTAMP comment '创建时间', | 47 | 47 | update_time datetime default CURRENT_TIMESTAMP comment '更新时间', | 48 | 48 | primary key (id) | |
Collapse file Copy file name to clipboardExpand all lines: passjava-channel/src/main/java/com/jackson0714/passjava/channel/entity/AccessTokenEntity.java +5Lines changed: 5 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | package com.jackson0714.passjava.channel.entity; | 2 | 2 |
| 3 | 3 | import com.baomidou.mybatisplus.annotation.TableId; | | 4 | +import com.baomidou.mybatisplus.annotation.TableLogic; | 4 | 5 | import com.baomidou.mybatisplus.annotation.TableName; | 5 | 6 |
| 6 | 7 | import java.io.Serializable; | @@ -36,6 +37,10 @@ public class AccessTokenEntity implements Serializable { | 36 | 37 | * 渠道id | 37 | 38 | */ | 38 | 39 | private Long channelId; | | 40 | + /** | | 41 | + * 删除标记(0-正常,1-删除) | | 42 | + */ | | 43 | + private Integer delFlag; | 39 | 44 | /** | 40 | 45 | * 创建时间 | 41 | 46 | */ | |
Collapse file Copy file name to clipboardExpand all lines: passjava-channel/src/main/java/com/jackson0714/passjava/channel/entity/ChannelEntity.java +5Lines changed: 5 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | package com.jackson0714.passjava.channel.entity; | 2 | 2 |
| 3 | 3 | import com.baomidou.mybatisplus.annotation.TableId; | | 4 | +import com.baomidou.mybatisplus.annotation.TableLogic; | 4 | 5 | import com.baomidou.mybatisplus.annotation.TableName; | 5 | 6 |
| 6 | 7 | import java.io.Serializable; | @@ -36,6 +37,10 @@ public class ChannelEntity implements Serializable { | 36 | 37 | * 渠道appsecret | 37 | 38 | */ | 38 | 39 | private String appsecret; | | 40 | + /** | | 41 | + * 删除标记(0-正常,1-删除) | | 42 | + */ | | 43 | + private Integer delFlag; | 39 | 44 | /** | 40 | 45 | * 创建时间 | 41 | 46 | */ | |
Collapse file Copy file name to clipboardExpand all lines: passjava-channel/src/main/resources/mapper/channel/AccessTokenDao.xml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 9 | 9 | <result property="accessToken" column="access_token"/> | 10 | 10 | <result property="expireTime" column="expire_time"/> | 11 | 11 | <result property="channelId" column="channel_id"/> | | 12 | + <result property="delFlag" column="del_flag"/> | 12 | 13 | <result property="createTime" column="create_time"/> | 13 | 14 | <result property="updateTime" column="update_time"/> | 14 | 15 | </resultMap> | |
Collapse file Copy file name to clipboardExpand all lines: passjava-channel/src/main/resources/mapper/channel/ChannelDao.xml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 9 | 9 | <result property="name" column="name"/> | 10 | 10 | <result property="appid" column="appid"/> | 11 | 11 | <result property="appsecret" column="appsecret"/> | | 12 | + <result property="delFlag" column="del_flag"/> | 12 | 13 | <result property="createTime" column="create_time"/> | 13 | 14 | <result property="updateTime" column="update_time"/> | 14 | 15 | </resultMap> | |
Collapse file Copy file name to clipboardExpand all lines: passjava-common/pom.xml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 25 | 25 | </build> | 26 | 26 |
| 27 | 27 | <dependencies> | | 28 | + | 28 | 29 | <!-- nacos discovery 服务发现组件 --> | 29 | 30 | <dependency> | 30 | 31 | <groupId>com.alibaba.cloud</groupId> | |
|