-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master-jdk17' of https://gitee.com/zhijiantianya/ruoyi-…
…vue-pro # Conflicts: # yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/service/statistics/CrmStatisticsPerformanceServiceImpl.java # yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/brokerage/AppBrokerageUserController.java # yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageUserService.java # yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageUserServiceImpl.java # yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/social/AppSocialUserController.java # yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/social/SocialUserApi.java # yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/social/SocialClientService.java
- Loading branch information
Showing
60 changed files
with
1,828 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
.../yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/framework/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* 属于 ai 模块的 framework 封装 | ||
* | ||
* @author 芋道源码 | ||
*/ | ||
package cn.iocoder.yudao.module.crm.framework; |
24 changes: 24 additions & 0 deletions
24
...biz/src/main/java/cn/iocoder/yudao/module/ai/framework/web/config/AiWebConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package cn.iocoder.yudao.module.ai.framework.web.config; | ||
|
||
import cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration; | ||
import org.springdoc.core.models.GroupedOpenApi; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
/** | ||
* ai 模块的 web 组件的 Configuration | ||
* | ||
* @author 芋道源码 | ||
*/ | ||
@Configuration(proxyBeanMethods = false) | ||
public class AiWebConfiguration { | ||
|
||
/** | ||
* ai 模块的 API 分组 | ||
*/ | ||
@Bean | ||
public GroupedOpenApi aiGroupedOpenApi() { | ||
return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("ai"); | ||
} | ||
|
||
} |
4 changes: 4 additions & 0 deletions
4
...ao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/framework/web/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** | ||
* crm 模块的 web 拓展封装 | ||
*/ | ||
package cn.iocoder.yudao.module.crm.framework.web; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
.../src/main/java/cn/iocoder/yudao/module/promotion/enums/WebSocketMessageTypeConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package cn.iocoder.yudao.module.promotion.enums; | ||
|
||
/** | ||
* Promotion 的 WebSocket 消息类型枚举类 | ||
* | ||
* @author HUIHUI | ||
*/ | ||
public interface WebSocketMessageTypeConstants { | ||
|
||
// ======================= mall 客服 ======================= | ||
|
||
String KEFU_MESSAGE_TYPE = "kefu_message_type"; // 客服消息类型 | ||
String KEFU_MESSAGE_ADMIN_READ = "kefu_message_read_status_change"; // 客服消息管理员已读 | ||
|
||
} |
45 changes: 45 additions & 0 deletions
45
...rc/main/java/cn/iocoder/yudao/module/promotion/enums/kehu/KeFuMessageContentTypeEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package cn.iocoder.yudao.module.promotion.enums.kehu; | ||
|
||
import cn.iocoder.yudao.framework.common.core.IntArrayValuable; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
import java.util.Arrays; | ||
|
||
/** | ||
* 客服消息的类型枚举 | ||
* | ||
* @author HUIHUI | ||
*/ | ||
@AllArgsConstructor | ||
@Getter | ||
public enum KeFuMessageContentTypeEnum implements IntArrayValuable { | ||
|
||
TEXT(1, "文本消息"), | ||
IMAGE(2, "图片消息"), | ||
VOICE(3, "语音消息"), | ||
VIDEO(4, "视频消息"), | ||
SYSTEM(5, "系统消息"), | ||
|
||
// ========== 商城特殊消息 ========== | ||
PRODUCT(10, "商品消息"), | ||
ORDER(11, "订单消息"); | ||
|
||
private static final int[] ARRAYS = Arrays.stream(values()).mapToInt(KeFuMessageContentTypeEnum::getType).toArray(); | ||
|
||
/** | ||
* 类型 | ||
*/ | ||
private final Integer type; | ||
|
||
/** | ||
* 名称 | ||
*/ | ||
private final String name; | ||
|
||
@Override | ||
public int[] array() { | ||
return ARRAYS; | ||
} | ||
|
||
} |
Oops, something went wrong.