chore(project): rebranded project as 恭学教育 (GongXue Education)
Some checks failed
Deploy to Runner / deploy (push) Failing after 6m7s

- Updated pom.xml project name, description, and URL to 恭学教育.
- Changed LICENSE copyright holder to 恭学教育 (GongXue Education).
- Rebranded README.md with new project title and tagline.
- Replaced @author 芋道源码 with @author 恭学教育 across all Java source files.
- Updated Swagger metadata with 恭学教育 API title and admin@gongxue.com.
- Added Gitea Actions CI pipeline for automated build and deployment.
This commit is contained in:
2026-07-27 15:12:32 +08:00
parent fd54f07889
commit 7426579863
2342 changed files with 2839 additions and 2710 deletions

View File

@@ -14,7 +14,7 @@ import jakarta.validation.constraints.NotEmpty;
@Data
public class MpAccountBaseVO {
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "恭学教育")
@NotEmpty(message = "公众号名称不能为空")
private String name;
@@ -37,7 +37,7 @@ public class MpAccountBaseVO {
@Schema(description = "加密密钥", example = "gjN+Ksei")
private String aesKey;
@Schema(description = "备注", example = "请关注芋道源码,学习技术")
@Schema(description = "备注", example = "请关注恭学教育,学习技术")
private String remark;
}

View File

@@ -10,7 +10,7 @@ public class MpAccountSimpleRespVO {
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
private Long id;
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "恭学教育")
private String name;
}

View File

@@ -24,7 +24,7 @@ public class MpUserPageReqVO extends PageParam {
@Schema(description = "微信生态唯一标识,模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
private String unionId;
@Schema(description = "公众号粉丝昵称,模糊匹配", example = "芋艿")
@Schema(description = "公众号粉丝昵称,模糊匹配", example = "管理员")
private String nickname;
}

View File

@@ -26,7 +26,7 @@ public class MpUserRespVO {
@Schema(description = "取消关注时间")
private LocalDateTime unsubscribeTime;
@Schema(description = "昵称", example = "芋道")
@Schema(description = "昵称", example = "恭学")
private String nickname;
@Schema(description = "头像地址", example = "https://www.iocoder.cn/1.png")
private String headImageUrl;
@@ -38,7 +38,7 @@ public class MpUserRespVO {
private String province;
@Schema(description = "城市", example = "广州市")
private String city;
@Schema(description = "备注", example = "你是一个芋头")
@Schema(description = "备注", example = "你是一个管理员")
private String remark;
@Schema(description = "标签编号数组", example = "1,2,3")

View File

@@ -14,10 +14,10 @@ public class MpUserUpdateReqVO {
@NotNull(message = "编号不能为空")
private Long id;
@Schema(description = "昵称", example = "芋道")
@Schema(description = "昵称", example = "恭学")
private String nickname;
@Schema(description = "备注", example = "你是一个芋头")
@Schema(description = "备注", example = "你是一个管理员")
private String remark;
@Schema(description = "标签编号数组", example = "1,2,3")

View File

@@ -9,7 +9,7 @@ import lombok.*;
/**
* 公众号账号 DO
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName("mp_account")
@KeySequence("mp_account_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -14,7 +14,7 @@ import me.chanjar.weixin.common.api.WxConsts;
* 1. <a href="https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/New_temporary_materials.html">临时素材</a>
* 2. <a href="https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Adding_Permanent_Assets.html">永久素材</a>
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName("mp_material")
@KeySequence("mp_material_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -19,7 +19,7 @@ import java.util.List;
/**
* 公众号菜单 DO
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName(value = "mp_menu", autoResultMap = true)
@KeySequence("mp_menu_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -22,7 +22,7 @@ import java.util.Set;
/**
* 公众号消息自动回复 DO
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName(value = "mp_auto_reply", autoResultMap = true)
@KeySequence("mp_auto_reply_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -22,7 +22,7 @@ import java.util.List;
/**
* 公众号消息 DO
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName(value = "mp_message", autoResultMap = true)
@KeySequence("mp_message_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import me.chanjar.weixin.mp.bean.tag.WxUserTag;
/**
* 公众号标签 DO
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName("mp_tag")
@KeySequence("mp_tag_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -17,7 +17,7 @@ import java.util.List;
/**
* 微信公众号粉丝 DO
*
* @author 芋道源码
* @author 恭学教育
*/
@TableName(value = "mp_user", autoResultMap = true)
@KeySequence("mp_user_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 公众号消息自动回复的匹配模式
*
* @author 芋道源码
* @author 恭学教育
*/
@Getter
@AllArgsConstructor

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 公众号消息自动回复的类型
*
* @author 芋道源码
* @author 恭学教育
*/
@Getter
@AllArgsConstructor

View File

@@ -6,7 +6,7 @@ import lombok.Getter;
/**
* 微信公众号消息的发送来源
*
* @author 芋道源码
* @author 恭学教育
*/
@Getter
@AllArgsConstructor

View File

@@ -21,7 +21,7 @@ import org.springframework.data.redis.core.StringRedisTemplate;
/**
* 微信公众号的配置类
*
* @author 芋道源码
* @author 恭学教育
*/
@Configuration
public class MpConfiguration {

View File

@@ -29,7 +29,7 @@ import java.util.Map;
/**
* 默认的 {@link MpServiceFactory} 实现类
*
* @author 芋道源码
* @author 恭学教育
*/
@Slf4j
@RequiredArgsConstructor

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* {@link WxMpService} 工厂接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpServiceFactory {

View File

@@ -29,7 +29,7 @@ import me.chanjar.weixin.mp.api.WxMpMessageHandler;
*
* @see cn.iocoder.yudao.module.mp.controller.admin.open.MpOpenController#handleMessage(String, String, MpOpenHandleMessageReqVO)
*
* @author 芋道源码
* @author 恭学教育
*/
public class MpContextHolder {

View File

@@ -10,7 +10,7 @@ import jakarta.validation.Validator;
/**
* 公众号工具类
*
* @author 芋道源码
* @author 恭学教育
*/
@Slf4j
public class MpUtils {

View File

@@ -1,6 +1,6 @@
/**
* 属于 mp 模块的 framework 封装
*
* @author 芋道源码
* @author 恭学教育
*/
package cn.iocoder.yudao.module.mp.framework;

View File

@@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration;
/**
* mp 模块的 web 组件的 Configuration
*
* @author 芋道源码
* @author 恭学教育
*/
@Configuration(proxyBeanMethods = false)
public class MpWebConfiguration {

View File

@@ -15,7 +15,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.ACCOUNT_NOT_EX
/**
* 公众号账号 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpAccountService {

View File

@@ -17,7 +17,7 @@ import java.util.Map;
*
* 逻辑:粉丝点击菜单时,触发对应的回复
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
public class MenuHandler implements WxMpMessageHandler {

View File

@@ -17,7 +17,7 @@ import java.util.Map;
/**
* 自动回复消息的事件处理器
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
@Slf4j

View File

@@ -16,7 +16,7 @@ import java.util.Map;
/**
* 保存微信消息的事件处理器
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
@Slf4j

View File

@@ -12,7 +12,7 @@ import java.util.Map;
/**
* 接收客服会话管理的事件处理器
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
public class KfSessionHandler implements WxMpMessageHandler {

View File

@@ -23,7 +23,7 @@ import java.util.Map;
*
* 逻辑:粉丝上传地理位置时,也可以触发自动回复
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
@Slf4j

View File

@@ -21,7 +21,7 @@ import java.util.Map;
/**
* 关注的事件处理器
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
@Slf4j

View File

@@ -17,7 +17,7 @@ import java.util.Map;
/**
* 取消关注的事件处理器
*
* @author 芋道源码
* @author 恭学教育
*/
@Component
@Slf4j

View File

@@ -16,7 +16,7 @@ import java.util.List;
/**
* 公众号素材 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpMaterialService {

View File

@@ -37,7 +37,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.*;
/**
* 公众号素材 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
@Service
@Validated

View File

@@ -10,7 +10,7 @@ import java.util.List;
/**
* 公众号菜单 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpMenuService {

View File

@@ -33,7 +33,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.MENU_SAVE_FAIL
/**
* 公众号菜单 Service 实现类
*
* @author 芋道源码
* @author 恭学教育
*/
@Service
@Validated

View File

@@ -11,7 +11,7 @@ import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage;
/**
* 公众号的自动回复 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpAutoReplyService {

View File

@@ -33,7 +33,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.*;
/**
* 公众号的自动回复 Service 实现类
*
* @author 芋道源码
* @author 恭学教育
*/
@Service
@Validated

View File

@@ -14,7 +14,7 @@ import jakarta.validation.Valid;
/**
* 公众号消息 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpMessageService {

View File

@@ -41,7 +41,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.MESSAGE_SEND_F
/**
* 粉丝消息 Service 实现类
*
* @author 芋道源码
* @author 恭学教育
*/
@Service
@Validated

View File

@@ -16,7 +16,7 @@ import java.util.List;
*
* 为什么要有该 BO 呢?在自动回复、客服消息、菜单回复消息等场景,都涉及到 MP 给粉丝发送消息,所以使用该 BO 统一承接
*
* @author 芋道源码
* @author 恭学教育
*/
@Data
public class MpMessageSendOutReqBO {

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 公众号统计 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpStatisticsService {

View File

@@ -21,7 +21,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.*;
/**
* 公众号统计 Service 实现类
*
* @author 芋道源码
* @author 恭学教育
*/
@Service
public class MpStatisticsServiceImpl implements MpStatisticsService {

View File

@@ -15,7 +15,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.USER_NOT_EXIST
/**
* 公众号粉丝 Service 接口
*
* @author 芋道源码
* @author 恭学教育
*/
public interface MpUserService {

View File

@@ -37,7 +37,7 @@ import static cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants.USER_UPDATE_TA
/**
* 微信公众号粉丝 Service 实现类
*
* @author 芋道源码
* @author 恭学教育
*/
@Service
@Validated