├── .gitignore ├── LICENSE ├── README.md ├── chatgpt-cloud ├── .editorconfig ├── .gitignore ├── LICENSE ├── README.md ├── blade-auth │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── springblade │ │ └── auth │ │ ├── AuthApplication.java │ │ ├── controller │ │ └── AuthController.java │ │ └── granter │ │ ├── ITokenGranter.java │ │ ├── TokenGranterBuilder.java │ │ └── WxMiniTokenGranter.java ├── blade-common │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── springblade │ │ └── common │ │ ├── constant │ │ └── LauncherConstant.java │ │ └── launch │ │ └── LauncherServiceImpl.java ├── blade-gateway │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── org │ │ │ └── springblade │ │ │ └── gateway │ │ │ ├── GateWayApplication.java │ │ │ └── provider │ │ │ └── AuthProvider.java │ │ └── resources │ │ ├── application-dev.yml │ │ ├── banner.txt │ │ └── bootstrap.yml ├── blade-plugin-api │ ├── mjkj-bladex-api │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── springblade │ │ │ ├── entity │ │ │ ├── BladeDept.java │ │ │ ├── OnLineUserInfo.java │ │ │ ├── Oss.java │ │ │ └── QuestionNumParam.java │ │ │ └── feign │ │ │ └── IMjkjBladexClient.java │ └── pom.xml ├── blade-plugin │ ├── mjkj-bladex │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── springblade │ │ │ │ └── mng │ │ │ │ ├── MjkjApplication.java │ │ │ │ ├── cgform │ │ │ │ ├── controller │ │ │ │ │ ├── BaseController.java │ │ │ │ │ ├── CgformApiController.java │ │ │ │ │ ├── CgformButtonController.java │ │ │ │ │ ├── CgformEnhanceController.java │ │ │ │ │ ├── DesformApiController.java │ │ │ │ │ └── SystemController.java │ │ │ │ ├── entity │ │ │ │ │ ├── BladeRole.java │ │ │ │ │ ├── BludeUser.java │ │ │ │ │ ├── Category.java │ │ │ │ │ ├── CgformButton.java │ │ │ │ │ ├── CgformEnhanceJava.java │ │ │ │ │ ├── CgformEnhanceJs.java │ │ │ │ │ ├── CgformEnhanceSql.java │ │ │ │ │ ├── CgformField.java │ │ │ │ │ ├── CgformHead.java │ │ │ │ │ ├── CgformIndex.java │ │ │ │ │ ├── CgformValid.java │ │ │ │ │ ├── ChatgptBladeDept.java │ │ │ │ │ ├── ChatgptBladeRole.java │ │ │ │ │ ├── ChatgptBludeUser.java │ │ │ │ │ ├── CheckRule.java │ │ │ │ │ ├── DesformData.java │ │ │ │ │ ├── DesformHead.java │ │ │ │ │ ├── DesformRoute.java │ │ │ │ │ ├── FillRule.java │ │ │ │ │ ├── MjkjBase.java │ │ │ │ │ ├── MjkjBladeDept.java │ │ │ │ │ ├── MyDept.java │ │ │ │ │ ├── SysDict.java │ │ │ │ │ └── SysDictItem.java │ │ │ │ ├── enums │ │ │ │ │ ├── CgformConstant.java │ │ │ │ │ ├── CgformValidPatternEnum.java │ │ │ │ │ ├── MjkjAeskey.java │ │ │ │ │ └── ModuleType.java │ │ │ │ ├── mapper │ │ │ │ │ ├── BaseSqlMapper.java │ │ │ │ │ ├── BaseSqlMapper.xml │ │ │ │ │ ├── CategoryMapper.java │ │ │ │ │ ├── CategoryMapper.xml │ │ │ │ │ ├── CgformButtonMapper.java │ │ │ │ │ ├── CgformButtonMapper.xml │ │ │ │ │ ├── CgformEnhanceJavaMapper.java │ │ │ │ │ ├── CgformEnhanceJavaMapper.xml │ │ │ │ │ ├── CgformEnhanceJsMapper.java │ │ │ │ │ ├── CgformEnhanceJsMapper.xml │ │ │ │ │ ├── CgformEnhanceSqlMapper.java │ │ │ │ │ ├── CgformEnhanceSqlMapper.xml │ │ │ │ │ ├── CgformFieldMapper.java │ │ │ │ │ ├── CgformFieldMapper.xml │ │ │ │ │ ├── CgformHeadMapper.java │ │ │ │ │ ├── CgformHeadMapper.xml │ │ │ │ │ ├── CgformIndexMapper.java │ │ │ │ │ ├── CgformIndexMapper.xml │ │ │ │ │ ├── CgformValidMapper.java │ │ │ │ │ ├── CgformValidMapper.xml │ │ │ │ │ ├── CheckRuleMapper.java │ │ │ │ │ ├── CheckRuleMapper.xml │ │ │ │ │ ├── DeptMapper.java │ │ │ │ │ ├── DeptMapper.xml │ │ │ │ │ ├── DesformDataMapper.java │ │ │ │ │ ├── DesformDataMapper.xml │ │ │ │ │ ├── DesformHeadMapper.java │ │ │ │ │ ├── DesformHeadMapper.xml │ │ │ │ │ ├── DesformRouteMapper.java │ │ │ │ │ ├── DesformRouteMapper.xml │ │ │ │ │ ├── DictItemMapper.java │ │ │ │ │ ├── DictItemMapper.xml │ │ │ │ │ ├── DictMapper.java │ │ │ │ │ ├── DictMapper.xml │ │ │ │ │ ├── FillRuleMapper.java │ │ │ │ │ ├── FillRuleMapper.xml │ │ │ │ │ ├── MjkjBaseSqlMapper.java │ │ │ │ │ ├── MjkjBaseSqlMapper.xml │ │ │ │ │ ├── RoleMapper.java │ │ │ │ │ ├── RoleMapper.xml │ │ │ │ │ ├── SqlMapper.java │ │ │ │ │ ├── SqlMapper.xml │ │ │ │ │ ├── UserMapper.java │ │ │ │ │ └── UserMapper.xml │ │ │ │ ├── model │ │ │ │ │ ├── AccumulatorRecursiveActionParam.java │ │ │ │ │ ├── CgformEnhanceJavaBatchInter.java │ │ │ │ │ ├── CgformEnhanceJavaInter.java │ │ │ │ │ ├── CgformEnhanceJavaListInter.java │ │ │ │ │ ├── CgformModel.java │ │ │ │ │ ├── CommonEntity.java │ │ │ │ │ ├── DesformUpdateTimeModel.java │ │ │ │ │ ├── DictModel.java │ │ │ │ │ ├── DuplicateCheckVo.java │ │ │ │ │ ├── FieldModel.java │ │ │ │ │ ├── FieldSlotType.java │ │ │ │ │ ├── HrefSlots.java │ │ │ │ │ ├── ImageSizeModel.java │ │ │ │ │ ├── KvModel.java │ │ │ │ │ ├── OnlColumn.java │ │ │ │ │ ├── OnlForeignKey.java │ │ │ │ │ ├── OnlGenerateModel.java │ │ │ │ │ ├── OnlineConfigModel.java │ │ │ │ │ ├── ScopedSlots.java │ │ │ │ │ ├── SysPermissionDataRuleModel.java │ │ │ │ │ ├── TreeDataModel.java │ │ │ │ │ ├── TreeModel.java │ │ │ │ │ ├── TreeSelectModel.java │ │ │ │ │ ├── database │ │ │ │ │ │ └── util │ │ │ │ │ │ │ ├── DbConvertDef.java │ │ │ │ │ │ │ └── StringArrUtil.java │ │ │ │ │ ├── email │ │ │ │ │ │ └── SendEmailModel.java │ │ │ │ │ ├── file │ │ │ │ │ │ ├── FileAddModel.java │ │ │ │ │ │ ├── FileCreateModel.java │ │ │ │ │ │ ├── FileCreateResultModel.java │ │ │ │ │ │ ├── FileIndexModel.java │ │ │ │ │ │ ├── FileLogModel.java │ │ │ │ │ │ ├── FileResultListModel.java │ │ │ │ │ │ └── FileRoleModel.java │ │ │ │ │ ├── generate │ │ │ │ │ │ ├── pojo │ │ │ │ │ │ │ ├── CgFormColumnExtendVo.java │ │ │ │ │ │ │ ├── ColumnExpVo.java │ │ │ │ │ │ │ ├── ColumnVo.java │ │ │ │ │ │ │ └── TableVo.java │ │ │ │ │ │ └── util │ │ │ │ │ │ │ ├── FileUtil.java │ │ │ │ │ │ │ ├── NonceUtils.java │ │ │ │ │ │ │ ├── SimpleFormat.java │ │ │ │ │ │ │ ├── StringBoolUtil.java │ │ │ │ │ │ │ └── TemplatePathUtil.java │ │ │ │ │ ├── param │ │ │ │ │ │ ├── FormDataSaveModel.java │ │ │ │ │ │ └── InvitationCodeParam.java │ │ │ │ │ └── query │ │ │ │ │ │ ├── MatchTypeEnum.java │ │ │ │ │ │ ├── QueryCondition.java │ │ │ │ │ │ ├── QueryGenerator.java │ │ │ │ │ │ └── QueryRuleEnum.java │ │ │ │ └── service │ │ │ │ │ ├── IAsyncPoolService.java │ │ │ │ │ ├── ICategoryService.java │ │ │ │ │ ├── ICgformButtonService.java │ │ │ │ │ ├── ICgformEnhanceJavaService.java │ │ │ │ │ ├── ICgformEnhanceJsService.java │ │ │ │ │ ├── ICgformEnhanceSqlService.java │ │ │ │ │ ├── ICgformFieldService.java │ │ │ │ │ ├── ICgformHeadService.java │ │ │ │ │ ├── ICgformIndexService.java │ │ │ │ │ ├── ICheckRuleService.java │ │ │ │ │ ├── IDeptService.java │ │ │ │ │ ├── IDesformDataService.java │ │ │ │ │ ├── IDesformHeadService.java │ │ │ │ │ ├── IDesformRouteService.java │ │ │ │ │ ├── IDictItemService.java │ │ │ │ │ ├── IDictService.java │ │ │ │ │ ├── IMjkjBaseSqlService.java │ │ │ │ │ ├── IOnlineService.java │ │ │ │ │ ├── IRoleService.java │ │ │ │ │ ├── IUserService.java │ │ │ │ │ └── impl │ │ │ │ │ ├── AsyncPoolServiceImpl.java │ │ │ │ │ ├── CategoryServiceImpl.java │ │ │ │ │ ├── CgformButtonServiceImpl.java │ │ │ │ │ ├── CgformEnhanceJavaServiceImpl.java │ │ │ │ │ ├── CgformEnhanceJsServiceImpl.java │ │ │ │ │ ├── CgformEnhanceSqlServiceImpl.java │ │ │ │ │ ├── CgformFieldServiceImpl.java │ │ │ │ │ ├── CgformHeadServiceImpl.java │ │ │ │ │ ├── CgformIndexServiceImpl.java │ │ │ │ │ ├── CheckRuleServiceImpl.java │ │ │ │ │ ├── DeptServiceImpl.java │ │ │ │ │ ├── DesformDataServiceImpl.java │ │ │ │ │ ├── DesformHeadServiceImpl.java │ │ │ │ │ ├── DesformRouteServiceImpl.java │ │ │ │ │ ├── DictItemServiceImpl.java │ │ │ │ │ ├── DictServiceImpl.java │ │ │ │ │ ├── MjkjBaseSqlServiceImpl.java │ │ │ │ │ ├── OnlineServiceImpl.java │ │ │ │ │ ├── RoleServiceImpl.java │ │ │ │ │ └── UserServiceImpl.java │ │ │ │ ├── common │ │ │ │ ├── constant │ │ │ │ │ ├── AiModelConstant.java │ │ │ │ │ └── ServiceTypeConstant.java │ │ │ │ └── utils │ │ │ │ │ └── MjkjUtils.java │ │ │ │ ├── config │ │ │ │ ├── LocalCache.java │ │ │ │ ├── constant │ │ │ │ │ ├── ChatgptConfig.java │ │ │ │ │ ├── MjkjConstant.java │ │ │ │ │ └── MjkjSmsConfig.java │ │ │ │ ├── db │ │ │ │ │ ├── DataBaseConfig.java │ │ │ │ │ └── TableModel.java │ │ │ │ ├── exception │ │ │ │ │ ├── BusinessException.java │ │ │ │ │ └── DBException.java │ │ │ │ ├── handler │ │ │ │ │ ├── FillRuleHandlerImpl.java │ │ │ │ │ └── IFillRuleHandler.java │ │ │ │ ├── pool │ │ │ │ │ ├── AccumulatorRecursiveAction.java │ │ │ │ │ └── SyncPoolConfiguration.java │ │ │ │ ├── service │ │ │ │ │ ├── DbTableHandleI.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── MysqlTableHandle.java │ │ │ │ │ │ ├── OracleTableHandle.java │ │ │ │ │ │ ├── PgTableHandle.java │ │ │ │ │ │ └── SqlServerTableHandle.java │ │ │ │ └── util │ │ │ │ │ ├── BrowserType.java │ │ │ │ │ ├── BrowserUtils.java │ │ │ │ │ ├── ColumnMeta.java │ │ │ │ │ ├── CommonUtils.java │ │ │ │ │ ├── ConvertUtils.java │ │ │ │ │ ├── DataTypeUtil.java │ │ │ │ │ ├── DateUtils.java │ │ │ │ │ ├── DbType.java │ │ │ │ │ ├── EmailTemplateUtils.java │ │ │ │ │ ├── EmailUtil.java │ │ │ │ │ ├── EnhanceJsUtil.java │ │ │ │ │ ├── FileSizeUtil.java │ │ │ │ │ ├── FillRuleUtil.java │ │ │ │ │ ├── FreemarkerHelper.java │ │ │ │ │ ├── MjkjUtil.java │ │ │ │ │ ├── MyClassLoader.java │ │ │ │ │ ├── SpringContextUtils.java │ │ │ │ │ ├── SqlHelper.java │ │ │ │ │ ├── SqlInjectionUtil.java │ │ │ │ │ ├── SqlSymbolUtil.java │ │ │ │ │ ├── TableUtil.java │ │ │ │ │ ├── ZipUtil.java │ │ │ │ │ ├── converter │ │ │ │ │ ├── ControlTypeUtil.java │ │ │ │ │ ├── ConverterUtil.java │ │ │ │ │ ├── FieldCommentConverter.java │ │ │ │ │ ├── field │ │ │ │ │ │ ├── FieldFieldCommentConverter.java │ │ │ │ │ │ └── TableFieldCommentConverter.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── CatTreeFieldCommentConverter.java │ │ │ │ │ │ ├── CheckboxFieldCommentConverter.java │ │ │ │ │ │ ├── LinkDownFieldCommentConverter.java │ │ │ │ │ │ ├── RadioFieldCommentConverter.java │ │ │ │ │ │ ├── SelDepartFieldCommentConverter.java │ │ │ │ │ │ ├── SelSearchFieldCommentConverter.java │ │ │ │ │ │ ├── SelTreeFieldCommentConverter.java │ │ │ │ │ │ └── SelUserFieldCommentConverter.java │ │ │ │ │ ├── engine │ │ │ │ │ ├── emailTemplate.html │ │ │ │ │ └── tableTemplate.ftl │ │ │ │ │ ├── ip │ │ │ │ │ └── AddressUtils.java │ │ │ │ │ ├── jsonschema │ │ │ │ │ ├── BaseColumn.java │ │ │ │ │ ├── CommonProperty.java │ │ │ │ │ ├── JsonSchemaDescrip.java │ │ │ │ │ ├── JsonschemaUtil.java │ │ │ │ │ └── validate │ │ │ │ │ │ ├── DictProperty.java │ │ │ │ │ │ ├── HiddenProperty.java │ │ │ │ │ │ ├── LinkDownProperty.java │ │ │ │ │ │ ├── NumberProperty.java │ │ │ │ │ │ ├── PopupProperty.java │ │ │ │ │ │ ├── StringProperty.java │ │ │ │ │ │ ├── SwitchProperty.java │ │ │ │ │ │ └── TreeSelectProperty.java │ │ │ │ │ └── sms │ │ │ │ │ ├── AliSmsConfig.java │ │ │ │ │ └── YunMasConfig.java │ │ │ │ ├── controller │ │ │ │ ├── ChatController.java │ │ │ │ ├── MngController.java │ │ │ │ └── OpenController.java │ │ │ │ ├── enhance │ │ │ │ ├── excel │ │ │ │ │ └── ExcelMessageListEnhance.java │ │ │ │ ├── images │ │ │ │ │ ├── ViewImageDelEnhance.java │ │ │ │ │ ├── ViewImageHandleDetailEnhance.java │ │ │ │ │ ├── ViewImageHandleEditEnhance.java │ │ │ │ │ └── ViewImageHandleListEnhance.java │ │ │ │ ├── log │ │ │ │ │ └── MessageNumListEnhance.java │ │ │ │ ├── message │ │ │ │ │ └── MessageListEnhance.java │ │ │ │ ├── morefun │ │ │ │ │ └── MessageMoreFunListEnhance.java │ │ │ │ ├── statistics │ │ │ │ │ ├── MessageCountEnhance.java │ │ │ │ │ └── TodayCountEnhance.java │ │ │ │ └── wxuser │ │ │ │ │ └── WxUserListEnhance.java │ │ │ │ ├── event │ │ │ │ ├── FileLogEvent.java │ │ │ │ └── FileLogListener.java │ │ │ │ ├── feign │ │ │ │ └── BladexClient.java │ │ │ │ ├── mapper │ │ │ │ ├── ApiIndexMapper.java │ │ │ │ ├── ApiIndexMapper.xml │ │ │ │ ├── ImageMapper.java │ │ │ │ ├── ImageMapper.xml │ │ │ │ ├── MjkjFileIndexMapper.java │ │ │ │ ├── MjkjFileIndexMapper.xml │ │ │ │ ├── MjkjFileMapper.java │ │ │ │ ├── MjkjFileMapper.xml │ │ │ │ ├── MngMapper.java │ │ │ │ ├── MngMapper.xml │ │ │ │ ├── WebMapper.java │ │ │ │ └── WebMapper.xml │ │ │ │ ├── model │ │ │ │ ├── AccountUseCouModel.java │ │ │ │ ├── AiModel.java │ │ │ │ ├── ChatGptMoreFunModel.java │ │ │ │ ├── ChatGptMsgModel.java │ │ │ │ ├── ChatGptResult.java │ │ │ │ ├── ChatGptTurboResult.java │ │ │ │ ├── MessageModel.java │ │ │ │ ├── MessageModelRoleType.java │ │ │ │ ├── MessageType.java │ │ │ │ ├── Poster.java │ │ │ │ ├── ResultModel.java │ │ │ │ ├── UrlModel.java │ │ │ │ ├── ViewType.java │ │ │ │ └── WxUserInfoModel.java │ │ │ │ ├── param │ │ │ │ ├── ChatGptParam.java │ │ │ │ ├── ChatGptPublicParam.java │ │ │ │ ├── ChatLogShareMessageParam.java │ │ │ │ ├── CheckMessageParam.java │ │ │ │ ├── CreditListParam.java │ │ │ │ ├── FunHistoryParam.java │ │ │ │ ├── MessageHistoryParam.java │ │ │ │ ├── MoreFunParam.java │ │ │ │ ├── QuestionParam.java │ │ │ │ ├── TargetLangModel.java │ │ │ │ ├── WebQueryParam.java │ │ │ │ ├── WuserInfoUpdateParam.java │ │ │ │ ├── mng │ │ │ │ │ ├── MngMemberParam.java │ │ │ │ │ └── MngQuestionCouParam.java │ │ │ │ └── wechatrot │ │ │ │ │ └── WechatUserParam.java │ │ │ │ ├── service │ │ │ │ ├── IChatGPTService.java │ │ │ │ ├── IMngMessageService.java │ │ │ │ ├── IMngService.java │ │ │ │ ├── ISmsService.java │ │ │ │ ├── IWebService.java │ │ │ │ └── impl │ │ │ │ │ ├── ChatGPTServiceImpl.java │ │ │ │ │ ├── MngMessageServiceImpl.java │ │ │ │ │ ├── MngServiceImpl.java │ │ │ │ │ ├── SmsServiceImpl.java │ │ │ │ │ └── WebServiceImpl.java │ │ │ │ └── utils │ │ │ │ ├── MjkjUtils.java │ │ │ │ ├── imagecode │ │ │ │ ├── PosterUtil.java │ │ │ │ ├── SlidePuzzleUtil.java │ │ │ │ └── SliderPuzzleInfo.java │ │ │ │ └── ltsms │ │ │ │ ├── MakeerWeimaUtils.java │ │ │ │ └── QRCodeUtil.java │ │ │ └── resources │ │ │ ├── application-dev.yml │ │ │ ├── application-prod.yml │ │ │ ├── application-test.yml │ │ │ ├── application.yml │ │ │ ├── hibernate.cfg.xml │ │ │ └── rebel.xml │ └── pom.xml ├── blade-service-api │ ├── blade-user-api │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── springblade │ │ │ └── system │ │ │ └── user │ │ │ ├── entity │ │ │ ├── SmsCodeParam.java │ │ │ ├── User.java │ │ │ ├── UserInfo.java │ │ │ ├── WxOpenParam.java │ │ │ └── WxUserParam.java │ │ │ └── feign │ │ │ └── IMjkjUserClient.java │ └── pom.xml ├── blade-service │ ├── blade-user │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── springblade │ │ │ └── system │ │ │ └── user │ │ │ ├── feign │ │ │ └── MjkjUserClient.java │ │ │ ├── mapper │ │ │ ├── MjkjLoginMapper.java │ │ │ └── MjkjLoginMapper.xml │ │ │ ├── service │ │ │ ├── IMjkjUserService.java │ │ │ └── impl │ │ │ │ └── MjkjUserServiceImpl.java │ │ │ └── wrapper │ │ │ └── UserWrapper.java │ └── pom.xml ├── pom.xml └── 后台.txt ├── chatgpt_http ├── LICENSE ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mjkj │ │ └── chatgpt │ │ ├── ChatGptApplication.java │ │ ├── controller │ │ └── ChatGptController.java │ │ ├── model │ │ ├── ChatGptParam.java │ │ ├── ChatGptPublicParam.java │ │ ├── ReqParam.java │ │ └── ResultModel.java │ │ └── service │ │ ├── IChatGPTService.java │ │ └── impl │ │ └── ChatGPTServiceImpl.java │ └── resources │ └── application.yml ├── chatgpt_pc ├── .browserslistrc ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── README.md ├── babel.config.js ├── jsconfig.json ├── package.json ├── public │ ├── AI-logo.png │ └── index.html ├── src │ ├── App.vue │ ├── api │ │ ├── chat.js │ │ ├── plot.js │ │ ├── request.js │ │ ├── system.js │ │ └── user.js │ ├── assets │ │ └── icon │ │ │ ├── iconfont.css │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ ├── components │ │ ├── announcement │ │ │ ├── announcement.js │ │ │ └── announcement.vue │ │ ├── chat │ │ │ ├── chat-detail-view.vue │ │ │ ├── chat-detail.vue │ │ │ └── chat-tool.vue │ │ ├── loading-view │ │ │ └── loading-view.vue │ │ ├── percent-loop.vue │ │ └── waterfall.vue │ ├── config │ │ ├── env.js │ │ └── website.js │ ├── main.js │ ├── router │ │ └── index.js │ ├── static │ │ ├── AI-logo.png │ │ ├── chat │ │ │ ├── 1.png │ │ │ ├── 10.png │ │ │ ├── 11.png │ │ │ ├── 12.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ ├── 9.png │ │ │ ├── collect (1).png │ │ │ ├── collect.png │ │ │ ├── copy.png │ │ │ ├── delete.png │ │ │ └── list.png │ │ ├── df_avatar_nan.png │ │ ├── drawing │ │ │ ├── bg2.png │ │ │ ├── collect(1).png │ │ │ ├── collect.png │ │ │ ├── copy.png │ │ │ ├── delete(1).png │ │ │ ├── delete.png │ │ │ ├── fb.png │ │ │ ├── gd.png │ │ │ ├── management.png │ │ │ ├── tx.png │ │ │ ├── update.png │ │ │ └── xz.png │ │ ├── grade │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ └── gradebg.png │ │ ├── index │ │ │ ├── bg1.1.png │ │ │ ├── bg1.png │ │ │ ├── bg2.png │ │ │ ├── chat.png │ │ │ ├── czgl.png │ │ │ ├── gr (1).png │ │ │ ├── gr.png │ │ │ ├── hh.png │ │ │ ├── hyck.png │ │ │ ├── hyzx.png │ │ │ ├── icontu.png │ │ │ ├── jf(1).png │ │ │ ├── jf(2).png │ │ │ ├── jf.png │ │ │ ├── mf.png │ │ │ ├── pt(1).png │ │ │ ├── pt.png │ │ │ ├── qd.png │ │ │ ├── qx.png │ │ │ ├── rl.png │ │ │ ├── tj2.png │ │ │ ├── vip (1).png │ │ │ ├── vip.png │ │ │ ├── vip1.png │ │ │ ├── vip2.2.png │ │ │ ├── vip2.png │ │ │ ├── vip3.png │ │ │ ├── vip4.png │ │ │ ├── wx.png │ │ │ ├── xx(1).png │ │ │ ├── yq (1).png │ │ │ ├── yq .png │ │ │ ├── yqd.png │ │ │ ├── yts.png │ │ │ ├── zfb.png │ │ │ ├── zh.png │ │ │ ├── zhsz.png │ │ │ ├── zn.png │ │ │ └── zs.png │ │ ├── morechat_bg.png │ │ └── wxgzh.jpg │ ├── store │ │ ├── getters.js │ │ ├── index.js │ │ └── modules │ │ │ ├── other.js │ │ │ └── user.js │ ├── utils │ │ ├── download.js │ │ ├── share.js │ │ ├── storage.js │ │ ├── token.js │ │ ├── util.js │ │ └── validate.js │ └── views │ │ ├── bindphone.vue │ │ ├── chat.vue │ │ ├── handbook.vue │ │ ├── index.vue │ │ ├── inform.vue │ │ ├── login.vue │ │ ├── piazza.vue │ │ ├── user.vue │ │ └── user │ │ ├── equity-center.vue │ │ ├── platform.vue │ │ ├── rl-detail.vue │ │ ├── setting.vue │ │ ├── share.vue │ │ └── userinfo.vue └── vue.config.js ├── doc ├── maven │ └── settings.xml ├── mysql │ └── mjkj_chatgpt.sql ├── nacos │ └── nacos_config_export_20240418175152.zip └── 验证码图片 │ ├── image.png │ ├── photo.png │ └── 备注.txt ├── images ├── 1650158609331527682_1682263445586.png ├── 1650376735184789506_1682315450842.png ├── 1650700886562971649_1682392734553.png ├── 1651147774541488130_1682499280949.png ├── 1651148466899443713_1682499446020.png ├── 1651149309421871106_1682499646893.png ├── 1651149871966117890_1682499781014.png ├── 1651426937391947777_1682565838560.png ├── 1682406718076.png ├── 1682406881447.png ├── 1682406917225.png ├── 1682406989125.png ├── 1682411107813.png ├── A7C6EF10-BF97-4116-AC0F-3E45FEA9F837.png ├── AFBB12D7-6EC7-4984-BD8E-87C4792DC47C.png ├── Copyright -@BladeX-#ff3f59.svg ├── E23F0D97-6207-4a56-BE51-1B4CEEA7B0E6.png ├── JDK-1.8+-green.svg ├── Snipaste_2023-04-25_17-17-50.png ├── Snipaste_2023-04-25_17-27-20.png ├── Snipaste_2023-04-25_17-52-04.png ├── Snipaste_2023-04-25_17-59-44.png ├── Snipaste_2023-04-28_02-12-02.png ├── Snipaste_2023-04-28_02-16-13.png ├── Snipaste_2023-04-28_02-54-21.png ├── Snipaste_2023-04-28_11-12-24.png ├── Snipaste_2023-04-28_11-16-49.png ├── Snipaste_2023-04-28_11-17-57.png ├── Snipaste_2023-05-05_23-46-35.png ├── Snipaste_2023-05-06_00-18-31.png ├── Snipaste_2023-05-06_00-21-40.png ├── Spring Boot-2.7.10-blue.svg ├── a12c434f7a5ce1561c4c774450fca09.jpg ├── c2dc425f87ce44be30b19e9ff9c3e9f.jpg ├── chatgpt应用场景及生态分析.png ├── d1b039ce4da3b91d9788388525f458f.jpg ├── desk1.png ├── e2e09856de9f4f7377077d2a451cb7c.jpg ├── ee8fa19f1311d7e3cdc2536b49a7c4f.jpg ├── f6430894893824de40eb26cb5ddeac8.jpg ├── image-20240425162028247.png ├── image-20240425172912308.png ├── image-20240425174613986.png ├── image-20240425174938524.png ├── image-20240425175152653.png ├── image-20240426095531018.png ├── image-20240426095607719.png ├── image-20240426095639926.png ├── lALPJxRxWXd0e8HNBWfNBzA_1840_1383.png ├── lQLPJwGl2qfBGF7NBP_NA46wEaQDKKfYg1UEW8QiJsDvAA_910_1279.png ├── mmexport1682145041145.jpg ├── mmexport1682145099316.jpg ├── mmexport1682145104320.jpg ├── mmexport1682150045749.jpg ├── mmexport1682156392120.jpg ├── mmexport1682160848009.jpg ├── mmexport1682160981225.jpg ├── mmexport1682162986368.jpg ├── mmexport1682422530330.jpg ├── mmexport1682571966940.jpg ├── mmexport1682574098103.jpg ├── mmexport1682576223811.jpg ├── mmexport1682576226118.jpg ├── mmexport1682576228612.jpg ├── mmexport1682576232109.jpg ├── mmexport1682586257822.jpg ├── mmexport1682586265500.jpg ├── mmexport1682586272784.jpg ├── mmexport1682586290326.jpg ├── mmexport1682586300376.jpg ├── mmexport1682586324879.jpg ├── mmexport1682592668694.jpg ├── mmexport1682592684173.jpg ├── mmexport1682592728861.jpg ├── 下载页展示.png ├── 前台展示1.png ├── 前台展示2.png ├── 前台展示3.png ├── 前台展示4.png ├── 后台前端.png ├── 客服微信.png ├── 客服微信2.png └── 超级AI大脑架构图.png ├── mng_web ├── package.json ├── public │ ├── cdn │ │ ├── animate │ │ │ └── 3.5.2 │ │ │ │ └── animate.css │ │ ├── avue │ │ │ └── 2.9.5 │ │ │ │ ├── avue.min.js │ │ │ │ └── index.css │ │ ├── axios │ │ │ └── 1.0.0 │ │ │ │ └── axios.min.js │ │ ├── element-ui │ │ │ └── 2.15.6 │ │ │ │ ├── index.js │ │ │ │ └── theme-chalk │ │ │ │ ├── fonts │ │ │ │ ├── element-icons.ttf │ │ │ │ └── element-icons.woff │ │ │ │ └── index.css │ │ ├── iconfont │ │ │ └── 1.0.0 │ │ │ │ └── index.css │ │ ├── sortable │ │ │ └── Sortable.min.js │ │ ├── vue-router │ │ │ └── 3.0.1 │ │ │ │ └── vue-router.min.js │ │ ├── vue │ │ │ └── 2.6.10 │ │ │ │ └── vue.min.js │ │ ├── vuex │ │ │ └── 3.1.1 │ │ │ │ └── vuex.min.js │ │ └── xlsx │ │ │ ├── FileSaver.min.js │ │ │ └── xlsx.full.min.js │ ├── favicon.png │ ├── img │ │ ├── bg │ │ │ ├── 403.svg │ │ │ ├── 404.svg │ │ │ ├── 500.svg │ │ │ ├── bg.jpeg │ │ │ ├── img-logo.png │ │ │ ├── login.png │ │ │ ├── logo.png │ │ │ ├── star-squashed.jpg │ │ │ ├── vip1.png │ │ │ ├── vip2.png │ │ │ ├── vip3.png │ │ │ └── vip4.png │ │ ├── code │ │ │ ├── qq-code.jpg │ │ │ └── wechat-code.jpg │ │ ├── logo.png │ │ └── mock │ │ │ ├── card │ │ │ ├── card-1.jpg │ │ │ ├── card-2.jpg │ │ │ ├── card-3.jpg │ │ │ └── card-4.jpg │ │ │ ├── cli │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ └── 3.png │ │ │ └── iconfont.png │ ├── index.html │ ├── svg │ │ └── loading-spin.svg │ └── util │ │ ├── aes.js │ │ └── screen │ │ ├── guge.png │ │ ├── huohu.png │ │ ├── screen.css │ │ └── screen.js ├── src │ ├── App.vue │ ├── api │ │ ├── base │ │ │ └── region.js │ │ ├── desk │ │ │ └── notice.js │ │ ├── logs.js │ │ ├── report │ │ │ └── report.js │ │ ├── research │ │ │ ├── code.js │ │ │ ├── codelist.js │ │ │ ├── datadic.js │ │ │ └── form.js │ │ ├── system │ │ │ ├── client.js │ │ │ ├── dept.js │ │ │ ├── dict.js │ │ │ ├── menu.js │ │ │ ├── param.js │ │ │ ├── post.js │ │ │ ├── role.js │ │ │ ├── scope.js │ │ │ ├── tenant.js │ │ │ └── user.js │ │ ├── tool │ │ │ ├── code.js │ │ │ └── datasource.js │ │ ├── user.js │ │ └── work │ │ │ ├── process.js │ │ │ └── work.js │ ├── assets │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ └── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ ├── components │ │ ├── basic-container │ │ │ └── main.vue │ │ ├── error-page │ │ │ ├── 403.vue │ │ │ ├── 404.vue │ │ │ ├── 500.vue │ │ │ └── style.scss │ │ ├── iframe │ │ │ └── main.vue │ │ └── third-register │ │ │ └── main.vue │ ├── config │ │ ├── env.js │ │ ├── iconList.js │ │ ├── url.js │ │ └── website.js │ ├── const │ │ └── user │ │ │ └── info.js │ ├── docker │ │ └── Dockerfile │ ├── error.js │ ├── lang │ │ ├── en.js │ │ ├── index.js │ │ └── zh.js │ ├── main.js │ ├── mixins │ │ └── color.js │ ├── mock │ │ ├── index.js │ │ ├── menu.js │ │ └── user.js │ ├── packages │ │ ├── mixins │ │ │ └── history.js │ │ └── utils │ │ │ ├── json-beautifier.js │ │ │ └── monaco-editor.js │ ├── page │ │ ├── index │ │ │ ├── index.vue │ │ │ ├── layout.vue │ │ │ ├── logo.vue │ │ │ ├── sidebar │ │ │ │ ├── config.js │ │ │ │ ├── index.vue │ │ │ │ └── sidebarItem.vue │ │ │ ├── tags.vue │ │ │ └── top │ │ │ │ ├── index.vue │ │ │ │ ├── top-color.vue │ │ │ │ ├── top-lang.vue │ │ │ │ ├── top-lock.vue │ │ │ │ ├── top-logs.vue │ │ │ │ ├── top-menu.vue │ │ │ │ ├── top-search.vue │ │ │ │ └── top-theme.vue │ │ ├── lock │ │ │ └── index.vue │ │ ├── login │ │ │ ├── authredirect.vue │ │ │ ├── codelogin.vue │ │ │ ├── index.vue │ │ │ ├── thirdlogin.vue │ │ │ └── userlogin.vue │ │ └── logs │ │ │ └── index.vue │ ├── permission.js │ ├── research │ │ ├── components │ │ │ ├── code-list │ │ │ │ ├── code-sublist-form.vue │ │ │ │ ├── code-sublist-table.vue │ │ │ │ ├── menu-form-btns.vue │ │ │ │ ├── menu-left-btns.vue │ │ │ │ └── menu-link-btns.vue │ │ │ ├── form-custom │ │ │ │ ├── form-control.vue │ │ │ │ ├── form-custom.vue │ │ │ │ └── table-control.vue │ │ │ └── general-control │ │ │ │ ├── control-view.vue │ │ │ │ ├── depart-control.vue │ │ │ │ ├── form-view.vue │ │ │ │ ├── table-select-control.vue │ │ │ │ ├── table-select.vue │ │ │ │ ├── table-tree.vue │ │ │ │ ├── table-view.vue │ │ │ │ ├── tabs-view.vue │ │ │ │ └── user-control.vue │ │ ├── config │ │ │ └── index.js │ │ ├── mixins │ │ │ ├── codetestlist.js │ │ │ └── form.js │ │ ├── router │ │ │ └── index.js │ │ ├── store │ │ │ ├── getters.js │ │ │ └── research.js │ │ ├── styles │ │ │ └── form.scss │ │ ├── util │ │ │ ├── Validation.js │ │ │ ├── city.js │ │ │ ├── myUtil.js │ │ │ ├── onlyoffice.js │ │ │ ├── print.js │ │ │ └── rules.js │ │ └── views │ │ │ └── tool │ │ │ ├── codetestlist.vue │ │ │ ├── codetesttabs.vue │ │ │ ├── codeview.vue │ │ │ ├── datasource.vue │ │ │ ├── dataview.vue │ │ │ └── formview.vue │ ├── router │ │ ├── avue-router.js │ │ ├── axios.js │ │ ├── page │ │ │ └── index.js │ │ ├── router.js │ │ └── views │ │ │ └── index.js │ ├── store │ │ ├── getters.js │ │ ├── index.js │ │ └── modules │ │ │ ├── common.js │ │ │ ├── dict.js │ │ │ ├── logs.js │ │ │ ├── tags.js │ │ │ └── user.js │ ├── styles │ │ ├── animate │ │ │ └── vue-transition.scss │ │ ├── common.scss │ │ ├── element-ui.scss │ │ ├── login.scss │ │ ├── media.scss │ │ ├── mixin.scss │ │ ├── normalize.scss │ │ ├── sidebar.scss │ │ ├── tags.scss │ │ ├── theme │ │ │ ├── d2.scss │ │ │ ├── hey.scss │ │ │ ├── index.scss │ │ │ ├── iview.scss │ │ │ ├── star.scss │ │ │ └── white.scss │ │ ├── top.scss │ │ └── variables.scss │ ├── util │ │ ├── admin.js │ │ ├── auth.js │ │ ├── crypto.js │ │ ├── date.js │ │ ├── func.js │ │ ├── store.js │ │ ├── util.js │ │ └── validate.js │ └── views │ │ ├── authority │ │ ├── datascope.vue │ │ └── role.vue │ │ ├── base │ │ └── region.vue │ │ ├── desk │ │ └── notice.vue │ │ ├── dic │ │ ├── datadic.vue │ │ └── treedic.vue │ │ ├── monitor │ │ └── log │ │ │ ├── api.vue │ │ │ ├── error.vue │ │ │ └── usual.vue │ │ ├── report │ │ └── reportlist.vue │ │ ├── system │ │ ├── client.vue │ │ ├── dept.vue │ │ ├── dict.vue │ │ ├── menu.vue │ │ ├── param.vue │ │ ├── post.vue │ │ ├── tenant.vue │ │ └── user.vue │ │ ├── tool │ │ ├── code.vue │ │ └── datasource.vue │ │ ├── user │ │ └── info.vue │ │ ├── util │ │ ├── data.vue │ │ ├── form.vue │ │ ├── logs.vue │ │ ├── permission.vue │ │ ├── store.vue │ │ ├── table.vue │ │ ├── tags.vue │ │ └── test.vue │ │ └── wel │ │ ├── dashboard.vue │ │ └── index.vue └── vue.config.js └── 项目介绍.txt /.gitignore: -------------------------------------------------------------------------------- 1 | # Build and Release Folders 2 | bin-debug/ 3 | bin-release/ 4 | [Oo]bj/ 5 | [Bb]in/ 6 | 7 | 8 | # Other files and folders 9 | .settings/ 10 | .idea 11 | # Executables 12 | *.swf 13 | *.air 14 | *.ipa 15 | *.apk 16 | 17 | # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` 18 | # should NOT be excluded as they contain compiler settings and other important 19 | # information for Eclipse / Flash Builder. 20 | -------------------------------------------------------------------------------- /chatgpt-cloud/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | # 空格替代Tab缩进在各种编辑工具下效果一致 5 | [*] 6 | indent_style = space 7 | indent_size = 4 8 | charset = utf-8 9 | end_of_line = lf 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | 13 | [*.java] 14 | indent_style = tab 15 | 16 | [*.{json,yml}] 17 | indent_size = 2 18 | 19 | [*.md] 20 | insert_final_newline = false 21 | trim_trailing_whitespace = false 22 | -------------------------------------------------------------------------------- /chatgpt-cloud/.gitignore: -------------------------------------------------------------------------------- 1 | # maven # 2 | target 3 | 4 | logs 5 | 6 | # windows # 7 | Thumbs.db 8 | 9 | # Mac # 10 | .DS_Store 11 | 12 | # eclipse # 13 | .settings 14 | .project 15 | .classpath 16 | .log 17 | *.class 18 | 19 | # idea # 20 | .idea 21 | *.iml 22 | 23 | # Package Files # 24 | *.jar 25 | *.war 26 | *.ear 27 | /target 28 | -------------------------------------------------------------------------------- /chatgpt-cloud/README.md: -------------------------------------------------------------------------------- 1 | # Chat gpt后台 2 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-auth/src/main/java/org/springblade/auth/AuthApplication.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springblade.auth; 17 | 18 | 19 | import org.springblade.core.cloud.client.BladeCloudApplication; 20 | import org.springblade.core.launch.BladeApplication; 21 | import org.springblade.core.launch.constant.AppConstant; 22 | 23 | /** 24 | * 用户认证服务器 25 | * 26 | * @author Chill 27 | */ 28 | @BladeCloudApplication 29 | public class AuthApplication { 30 | 31 | public static void main(String[] args) { 32 | BladeApplication.run(AppConstant.APPLICATION_AUTH_NAME, AuthApplication.class, args); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-auth/src/main/java/org/springblade/auth/granter/ITokenGranter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springblade.auth.granter; 17 | 18 | 19 | import org.springblade.system.user.entity.UserInfo; 20 | 21 | import javax.servlet.http.HttpServletRequest; 22 | 23 | /** 24 | * 授权认证统一接口. 25 | * 26 | * @author Chill 27 | */ 28 | public interface ITokenGranter { 29 | 30 | /** 31 | * 获取用户信息 32 | * 33 | * @param tokenParameter 授权参数 34 | * @return UserInfo 35 | */ 36 | UserInfo grant(TokenParameter tokenParameter); 37 | 38 | } 39 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-gateway/src/main/resources/application-dev.yml: -------------------------------------------------------------------------------- 1 | blade: 2 | #多团队协作服务配置 3 | loadbalancer: 4 | #开启配置 5 | enabled: true 6 | #灰度版本 7 | #version: 3.0.0 8 | #负载均衡优先调用的ip段 9 | prior-ip-pattern: 10 | - 192.168.0.* 11 | - 127.0.0.1 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-gateway/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | ${AnsiColor.BRIGHT_CYAN} _____ _ ${AnsiColor.BLUE} ______ _ _ 2 | ${AnsiColor.BRIGHT_CYAN}/ ___| (_) ${AnsiColor.BLUE} | ___ \| | | | 3 | ${AnsiColor.BRIGHT_CYAN}\ `--. _ __ _ __ _ _ __ __ _ ${AnsiColor.BLUE} | |_/ /| | __ _ __| | ___ 4 | ${AnsiColor.BRIGHT_CYAN} `--. \| '_ \ | '__|| || '_ \ / _` | ${AnsiColor.BLUE} | ___ \| | / _` | / _` | / _ \ 5 | ${AnsiColor.BRIGHT_CYAN}/\__/ /| |_) || | | || | | || (_| | ${AnsiColor.BLUE} | |_/ /| || (_| || (_| || __/ 6 | ${AnsiColor.BRIGHT_CYAN}\____/ | .__/ |_| |_||_| |_| \__, | ${AnsiColor.BLUE} \____/ |_| \__,_| \__,_| \___| 7 | ${AnsiColor.BRIGHT_CYAN} | | __/ | 8 | ${AnsiColor.BRIGHT_CYAN} |_| |___/ 9 | 10 | ${AnsiColor.BLUE}:: SpringBlade :: ${spring.application.name}:${AnsiColor.RED}${blade.env}${AnsiColor.BLUE} :: Running SpringBoot ${spring-boot.version} :: ${AnsiColor.BRIGHT_BLACK} 11 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-gateway/src/main/resources/bootstrap.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9872 3 | 4 | spring: 5 | cloud: 6 | gateway: 7 | discovery: 8 | locator: 9 | enabled: true 10 | loadbalancer: 11 | retry: 12 | enabled: true 13 | 14 | 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin-api/mjkj-bladex-api/src/main/java/org/springblade/entity/OnLineUserInfo.java: -------------------------------------------------------------------------------- 1 | package org.springblade.entity; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | import org.springblade.core.secure.BladeUser; 6 | import org.springblade.core.tool.support.Kv; 7 | 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * 用户在线信息 13 | */ 14 | @Data 15 | public class OnLineUserInfo { 16 | 17 | private static final long serialVersionUID = 1L; 18 | 19 | /** 20 | * 第三方授权id 21 | */ 22 | @ApiModelProperty(value = "第三方授权id") 23 | private String oauthId; 24 | 25 | /** 26 | * 用户基础信息 27 | */ 28 | @ApiModelProperty(value = "用户") 29 | private BladeUser bladeUser; 30 | 31 | /** 32 | * 拓展信息 33 | */ 34 | @ApiModelProperty(value = "拓展信息") 35 | private Kv detail; 36 | 37 | /** 38 | * 权限标识集合 39 | */ 40 | @ApiModelProperty(value = "权限集合") 41 | private List permissions; 42 | 43 | /** 44 | * 角色集合 45 | */ 46 | @ApiModelProperty(value = "角色集合") 47 | private List roles; 48 | 49 | //错误日志 50 | private String errorMsg; 51 | } 52 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin-api/mjkj-bladex-api/src/main/java/org/springblade/entity/QuestionNumParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.entity; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class QuestionNumParam { 7 | Long bladeUsrId;//用户id 8 | String wxuserId; 9 | Integer serviceType; 10 | Integer num; 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/entity/MjkjBase.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.TableLogic; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import lombok.Data; 6 | 7 | import java.io.Serializable; 8 | 9 | @Data 10 | public class MjkjBase implements Serializable { 11 | /** 12 | * 租户ID 13 | */ 14 | @ApiModelProperty(value = "租户ID") 15 | private String tenantId; 16 | 17 | 18 | /** 19 | * 是否已删除 20 | */ 21 | @TableLogic 22 | @ApiModelProperty(value = "是否已删除") 23 | private Integer isDeleted; 24 | } 25 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/enums/CgformConstant.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.enums; 2 | 3 | 4 | public interface CgformConstant { 5 | //表类型: 1单表、2主表、3附表 6 | Integer ONLINE_TABLE_TYPE_SUB = Integer.valueOf(3); 7 | Integer ONLINE_TABLE_TYPE_ONE = Integer.valueOf(1); 8 | Integer ONLINE_TABLE_TYPE_MAIN = Integer.valueOf(2); 9 | String ONLINE_JS_CHANGE_FUNCTION_NAME = "onlChange"; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/enums/MjkjAeskey.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.enums; 2 | 3 | public interface MjkjAeskey { 4 | String key="O2BEeIv399qHQNhD6aGW8R8DEj4bqHXm"; 5 | 6 | //数据库key 7 | String db_aes_key="O2BEeIv399qHQNhD6aGW8R8DEj4bqHXm"; 8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/enums/ModuleType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.enums; 2 | 3 | /** 4 | * 日志按模块分类 5 | */ 6 | public enum ModuleType { 7 | 8 | /** 9 | * 普通 10 | */ 11 | COMMON, 12 | 13 | /** 14 | * online 15 | */ 16 | ONLINE; 17 | } 18 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/CgformEnhanceJsMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/CgformValidMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/CheckRuleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/DesformDataMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/DesformRouteMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/FillRuleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/RoleMapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * Neither the name of the dreamlu.net developer nor the names of its 13 | * contributors may be used to endorse or promote products derived from 14 | * this software without specific prior written permission. 15 | * Author: Chill 庄骞 (smallchill@163.com) 16 | */ 17 | package org.springblade.mng.cgform.mapper; 18 | 19 | 20 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 21 | import org.springblade.mng.cgform.entity.ChatgptBladeRole; 22 | 23 | 24 | /** 25 | * Mapper 接口 26 | * 27 | * @author Chill 28 | */ 29 | public interface RoleMapper extends BaseMapper { 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/mapper/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/AccumulatorRecursiveActionParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | import org.springblade.mng.cgform.entity.CgformField; 6 | import org.springblade.mng.cgform.entity.CgformHead; 7 | import org.springblade.mng.cgform.mapper.SqlMapper; 8 | import org.springblade.mng.cgform.service.ICgformEnhanceSqlService; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | @Data 14 | public class AccumulatorRecursiveActionParam { 15 | 16 | private ICgformEnhanceSqlService sqlService; 17 | private CgformHead head; 18 | private List cgformFieldList; 19 | private List> importList; 20 | private String batchCode; 21 | private SqlMapper sqlMapper; 22 | private Map otherMap; 23 | private CgformEnhanceJavaBatchInter java; 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/CgformEnhanceJavaBatchInter.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | 5 | import org.springblade.mng.cgform.entity.CgformHead; 6 | import org.springblade.mng.config.exception.BusinessException; 7 | 8 | import java.util.Map; 9 | 10 | public interface CgformEnhanceJavaBatchInter { 11 | 12 | Map getOtherParam(String batchCode); 13 | 14 | /** 15 | * 16 | * @param head 17 | * @param jsonobject 18 | * @return 1=新增 2=更新 -1=不操作 19 | * @throws BusinessException 20 | */ 21 | int execute(CgformHead head, JSONObject jsonobject, Map otherMap) 22 | throws BusinessException; 23 | } 24 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/CgformEnhanceJavaInter.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | import org.springblade.mng.cgform.entity.CgformHead; 5 | import org.springblade.mng.config.exception.BusinessException; 6 | 7 | 8 | public interface CgformEnhanceJavaInter { 9 | /** 10 | * 11 | * @param head 12 | * @param jsonobject 13 | * @return 1=新增 2=更新 -1=不操作 14 | * @throws BusinessException 15 | */ 16 | int execute(CgformHead head, JSONObject jsonobject) 17 | throws BusinessException; 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/CgformEnhanceJavaListInter.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | 4 | import org.springblade.mng.config.exception.BusinessException; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * java增强需要继承该接口 11 | */ 12 | public interface CgformEnhanceJavaListInter { 13 | 14 | void execute(String tableName, String tenantId, List> list, Map params) 15 | throws BusinessException; 16 | } 17 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/CgformModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import io.swagger.annotations.ApiModelProperty; 4 | import lombok.Data; 5 | import org.springblade.mng.cgform.entity.CgformField; 6 | import org.springblade.mng.cgform.entity.CgformHead; 7 | import org.springblade.mng.cgform.entity.CgformIndex; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * 表单新增实体 13 | */ 14 | @Data 15 | public class CgformModel { 16 | @ApiModelProperty(value = "基本内容") 17 | private CgformHead head; 18 | 19 | @ApiModelProperty(value = "属性列表") 20 | private List fields; 21 | 22 | @ApiModelProperty(value = "索引列表") 23 | private List indexs; 24 | 25 | @ApiModelProperty(value = "删除字段id") 26 | private List deleteFieldIds; 27 | 28 | @ApiModelProperty(value = "删除字段索引") 29 | private List deleteIndexIds; 30 | } 31 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/CommonEntity.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | import lombok.EqualsAndHashCode; 5 | import lombok.NoArgsConstructor; 6 | import lombok.ToString; 7 | 8 | @NoArgsConstructor 9 | @Data 10 | @EqualsAndHashCode 11 | @ToString 12 | public class CommonEntity { 13 | private String table; 14 | private String txt; 15 | private String key; 16 | private String linkField; 17 | private String idField; 18 | private String pidField; 19 | private String pidValue; 20 | private String condition; 21 | } 22 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/DesformUpdateTimeModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class DesformUpdateTimeModel { 9 | List idList; 10 | } 11 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/DuplicateCheckVo.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import io.swagger.annotations.ApiModel; 4 | import io.swagger.annotations.ApiModelProperty; 5 | import lombok.Data; 6 | 7 | import java.io.Serializable; 8 | 9 | @Data 10 | @ApiModel(value="重复校验数据模型",description="重复校验数据模型") 11 | public class DuplicateCheckVo implements Serializable { 12 | private static final long serialVersionUID = 1L; 13 | 14 | /** 15 | * 表名 16 | */ 17 | @ApiModelProperty(value="表名",name="tableName",example="sys_log") 18 | private String tableName; 19 | 20 | /** 21 | * 字段名 22 | */ 23 | @ApiModelProperty(value="字段名",name="fieldName",example="id") 24 | private String fieldName; 25 | 26 | /** 27 | * 字段值 28 | */ 29 | @ApiModelProperty(value="字段值",name="fieldVal",example="1000") 30 | private String fieldVal; 31 | 32 | /** 33 | * 数据ID 34 | */ 35 | @ApiModelProperty(value="数据ID",name="dataId",example="2000") 36 | private String dataId; 37 | 38 | } 39 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/FieldModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class FieldModel { 7 | private String fieldName; 8 | private String tableName; 9 | private String codeField; 10 | private String textField; 11 | private String pidField; 12 | private String pidValue; 13 | private String hsaChildField; 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/FieldSlotType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | 4 | public class FieldSlotType 5 | { 6 | public static final String FILE = "file"; 7 | public static final String IMAGE = "image"; 8 | public static final String EDITOR = "editor"; 9 | public static final String DATE = "date"; 10 | public static final String PCA = "pca"; 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/HrefSlots.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class HrefSlots { 7 | private String slotName; 8 | private String href; 9 | 10 | public HrefSlots(String slotName, String href) { 11 | this.slotName = slotName; 12 | this.href = href; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/ImageSizeModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 7 | * 图片大小 8 | */ 9 | @Data 10 | public class ImageSizeModel { 11 | private Integer width; 12 | private Integer height; 13 | private String proportion; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/KvModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | 7 | @Data 8 | public class KvModel implements Serializable { 9 | private String k; 10 | private String v; 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/OnlColumn.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class OnlColumn { 7 | private String title; 8 | private String dataIndex; 9 | private String align; 10 | private String customRender; 11 | private ScopedSlots scopedSlots; 12 | private String hrefSlotName; 13 | private ScopedSlots jsSlots; 14 | private String jsEnhance; 15 | private Integer width; 16 | private boolean sorter = false; 17 | 18 | public OnlColumn(String title, String dataIndex, Integer width) { 19 | this.align = "center"; 20 | this.title = title; 21 | this.dataIndex = dataIndex; 22 | this.width = width; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/OnlForeignKey.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class OnlForeignKey { 7 | private String field; 8 | private String table; 9 | private String key; 10 | 11 | public OnlForeignKey(String field, String key) { 12 | this.key = key; 13 | this.field = field; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/OnlGenerateModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | @Data 10 | public class OnlGenerateModel implements Serializable { 11 | /** 12 | * 13 | */ 14 | private static final long serialVersionUID = 684098897071177558L; 15 | private Long headId; 16 | private String projectPath; 17 | private String packageStyle; 18 | private String ftlDescription; 19 | private String jformType; 20 | private String tableName; 21 | private String entityPackage; 22 | private String entityName; 23 | private String jspMode; 24 | private List subList = new ArrayList<>(); 25 | } 26 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/ScopedSlots.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ScopedSlots { 7 | private String customRender; 8 | 9 | public ScopedSlots(String customRender) { 10 | this.customRender = customRender; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/TreeDataModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | import org.springblade.core.tool.node.INode; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | /** 10 | * 树结构 11 | */ 12 | @Data 13 | public class TreeDataModel implements INode { 14 | private Long id; 15 | private Long pId;//父节点 16 | private Long parentId;//父节点 17 | private String title;//显示列 18 | private Object data; 19 | private List children; 20 | 21 | 22 | @Override 23 | public List getChildren() { 24 | if (this.children == null) { 25 | this.children = new ArrayList<>(); 26 | } 27 | return this.children; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/TreeModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TreeModel { 7 | private String label; 8 | private String store; 9 | private String id; 10 | private String pid; 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/email/SendEmailModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.email; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class SendEmailModel { 9 | private String sjr;//接收人 10 | private String nr;//内容 11 | private String yxzt;//主题 12 | private String fsr;//发送人 13 | 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/file/FileAddModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.file; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class FileAddModel { 7 | private Long pid;//父节点 8 | private String title;//文件名称 9 | private Integer type;//1=文件夹 2=文件 10 | private String fileSize;//文件大小 11 | private String fileUrl;//文件地址 12 | private String fileSuffix;//文件后缀 13 | private Integer downloadFlag;//0=不行 1=行 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/file/FileCreateModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.file; 2 | 3 | import lombok.Data; 4 | import org.springframework.web.multipart.MultipartFile; 5 | 6 | import java.io.Serializable; 7 | 8 | @Data 9 | public class FileCreateModel implements Serializable { 10 | private Integer type; 11 | private Long id; 12 | private String source; 13 | private String target; 14 | private String action; 15 | private MultipartFile upload; 16 | private String upload_fullpath; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/file/FileCreateResultModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.file; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class FileCreateResultModel { 7 | private String date; 8 | private Long size; 9 | private Long id; 10 | private String type; 11 | private String value; 12 | private Long fileId; 13 | } 14 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/file/FileIndexModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.file; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | import java.util.List; 7 | 8 | @Data 9 | public class FileIndexModel implements Serializable { 10 | 11 | //资源总量 文档数量 视频数量 用户数量 12 | @Data 13 | public static class TopModel{ 14 | private Long cou; 15 | private Long jrscl; 16 | private List xyList; 17 | } 18 | 19 | //视频数量 20 | @Data 21 | public static class kv{ 22 | private String k; 23 | private String v; 24 | } 25 | //访问量 26 | @Data 27 | public static class Fwl{ 28 | private String tian; 29 | private String type; 30 | private String userCou; 31 | private String viewCou; 32 | } 33 | 34 | //视频数量 35 | @Data 36 | public static class Xy{ 37 | private String x; 38 | private String y; 39 | 40 | public Xy(String x, String y) { 41 | this.x = x; 42 | this.y = y; 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/file/FileLogModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.file; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class FileLogModel { 7 | private Long file_id; 8 | private String type; 9 | private String file_title; 10 | private String remark; 11 | private Long operate_user_id; 12 | private String operate_user_name; 13 | private String tenant_id; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/file/FileRoleModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.file; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | import java.util.List; 7 | 8 | @Data 9 | public class FileRoleModel implements Serializable { 10 | private List fileIdList; 11 | private List userList; 12 | private List roleList; 13 | private List deptList; 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/generate/pojo/ColumnExpVo.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.generate.pojo; 2 | 3 | public class ColumnExpVo extends ColumnVo { 4 | 5 | private String readonly; 6 | 7 | public String getReadonly() { 8 | return readonly; 9 | } 10 | 11 | public void setReadonly(String readonly) { 12 | this.readonly = readonly; 13 | } 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/generate/util/StringBoolUtil.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.generate.util; 2 | 3 | import org.apache.commons.lang.StringUtils; 4 | 5 | public class StringBoolUtil { 6 | 7 | public static String strBool(String s) { 8 | if ("YES".equals(s) || "yes".equals(s) || "y".equals(s) || "Y".equals(s) || "f".equals(s)) { 9 | return "Y"; 10 | } 11 | if ("NO".equals(s) || "N".equals(s) || "no".equals(s) || "n".equals(s) || "t".equals(s)) { 12 | return "N"; 13 | } 14 | return null; 15 | } 16 | 17 | public static String isBlank(String s) { 18 | if (StringUtils.isBlank(s)) { 19 | return ""; 20 | } 21 | return s; 22 | } 23 | 24 | public static String strToStr(String s) { 25 | return "'" + s + "'"; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/param/FormDataSaveModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.param; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class FormDataSaveModel { 7 | String desformCode; 8 | String desformDataJson; 9 | String onlineFormCode; 10 | String onlineFormDataId; 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/param/InvitationCodeParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.param; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | 7 | @Data 8 | public class InvitationCodeParam implements Serializable { 9 | private Long activity_id; 10 | private Long blade_user_id; 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/model/query/MatchTypeEnum.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.model.query; 2 | 3 | import org.springblade.mng.config.util.ConvertUtils; 4 | 5 | /** 6 | * 查询链接规则 7 | * 8 | * @Author Sunjianlei 9 | */ 10 | public enum MatchTypeEnum { 11 | 12 | AND("AND"), 13 | OR("OR"); 14 | 15 | private String value; 16 | 17 | MatchTypeEnum(String value) { 18 | this.value = value; 19 | } 20 | 21 | public String getValue() { 22 | return value; 23 | } 24 | 25 | public static MatchTypeEnum getByValue(Object value) { 26 | if (ConvertUtils.isEmpty(value)) { 27 | return null; 28 | } 29 | return getByValue(value.toString()); 30 | } 31 | 32 | public static MatchTypeEnum getByValue(String value) { 33 | if (ConvertUtils.isEmpty(value)) { 34 | return null; 35 | } 36 | for (MatchTypeEnum val : values()) { 37 | if (val.getValue().toLowerCase().equals(value.toLowerCase())) { 38 | return val; 39 | } 40 | } 41 | return null; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/cgform/service/IAsyncPoolService.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.cgform.service; 2 | 3 | 4 | import org.springblade.mng.cgform.entity.CgformField; 5 | import org.springblade.mng.cgform.entity.CgformHead; 6 | import org.springblade.mng.cgform.mapper.SqlMapper; 7 | import org.springblade.mng.cgform.model.CgformEnhanceJavaBatchInter; 8 | import org.springblade.mng.config.exception.BusinessException; 9 | import org.springframework.web.context.request.ServletRequestAttributes; 10 | 11 | import java.util.List; 12 | import java.util.Map; 13 | 14 | public interface IAsyncPoolService { 15 | //批量执行 16 | void executeBatchSql(List> dataList, CgformHead head, List fieldList, SqlMapper sqlMapper, String batchCode, Integer totalNum, Map otherMap, CgformEnhanceJavaBatchInter enhanceJava, ServletRequestAttributes sra) throws BusinessException; 17 | 18 | /** 19 | * 入库 20 | * @param dataList 21 | * @param batchCode 22 | * @param tableName 23 | */ 24 | 25 | } 26 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/common/constant/AiModelConstant.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.common.constant; 2 | 3 | public interface AiModelConstant { 4 | 5 | String gpt_3_0 = "text-davinci-003"; 6 | 7 | String gpt_3_5 = "gpt-3.5-turbo-16k"; 8 | } 9 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/common/constant/ServiceTypeConstant.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.common.constant; 2 | 3 | public interface ServiceTypeConstant { 4 | 5 | /** 6 | * 注册 7 | */ 8 | Integer zc = 1; 9 | 10 | /** 11 | * 分享 12 | */ 13 | Integer fx = 2; 14 | 15 | /** 16 | * 分享注册 17 | */ 18 | Integer fxzc = 3; 19 | 20 | /** 21 | * 提问 22 | */ 23 | Integer tw = 4; 24 | 25 | /** 26 | * 人工 27 | */ 28 | Integer rg = 5; 29 | 30 | /** 31 | * 广告奖励 32 | */ 33 | Integer ggjl = 6; 34 | 35 | /** 36 | * 签到 37 | */ 38 | Integer qd = 7; 39 | 40 | /** 41 | * 会员奖励 42 | */ 43 | Integer hyjl = 8; 44 | 45 | /** 46 | * 更多好玩 47 | */ 48 | Integer gdhw = 9; 49 | 50 | /** 51 | * 口令福利 52 | */ 53 | Integer klfl = 10; 54 | } 55 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/LocalCache.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config; 2 | 3 | import cn.hutool.cache.CacheUtil; 4 | import cn.hutool.cache.impl.TimedCache; 5 | import cn.hutool.core.date.DateUnit; 6 | 7 | /** 8 | * @author JX 9 | * @create 2023-11-17 22:30 10 | * @dedescription: 11 | */ 12 | public class LocalCache { 13 | 14 | public static final long TIMEOUT = 12 * DateUnit.HOUR.getMillis(); 15 | /** 16 | * 清理间隔 17 | */ 18 | private static final long CLEAN_TIMEOUT = 12 * DateUnit.HOUR.getMillis(); 19 | /** 20 | * 缓存对象 21 | */ 22 | public static final TimedCache CACHE = CacheUtil.newTimedCache(TIMEOUT); 23 | 24 | static { 25 | //启动定时任务 26 | CACHE.schedulePrune(CLEAN_TIMEOUT); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/db/TableModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.db; 2 | 3 | 4 | import lombok.Data; 5 | import org.springblade.mng.cgform.entity.CgformField; 6 | import org.springblade.mng.cgform.entity.CgformIndex; 7 | 8 | import java.io.Serializable; 9 | import java.util.List; 10 | 11 | @Data 12 | public class TableModel implements Serializable { 13 | private String tableName; 14 | private String isDbSynch; 15 | private String content; 16 | private String jformVersion; 17 | private Integer jformType; 18 | private String jformPkType; 19 | private String jformPkSequence; 20 | private Integer relationType; 21 | private String subTableStr; 22 | private Integer tabOrder; 23 | private List columns; 24 | private List indexes; 25 | private String treeParentIdFieldName; 26 | private String treeIdFieldname; 27 | private String treeFieldname; 28 | private DataBaseConfig dbConfig; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/exception/BusinessException.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.exception; 2 | 3 | /** 4 | * 自定义业务异常 5 | */ 6 | public class BusinessException extends Exception { 7 | 8 | private static final long serialVersionUID = 1L; 9 | 10 | public BusinessException(String msg) { 11 | super(msg); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/exception/DBException.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.exception; 2 | 3 | /** 4 | * 自定义数据异常 5 | */ 6 | public class DBException extends Exception 7 | { 8 | private static final long serialVersionUID = 1L; 9 | 10 | public DBException(String msg) 11 | { 12 | super(msg); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/handler/FillRuleHandlerImpl.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.handler; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | import org.apache.commons.lang.StringUtils; 5 | import org.apache.commons.lang.math.RandomUtils; 6 | 7 | import java.text.SimpleDateFormat; 8 | import java.util.Date; 9 | 10 | public class FillRuleHandlerImpl implements IFillRuleHandler { 11 | public FillRuleHandlerImpl() { 12 | } 13 | 14 | public Object execute(JSONObject params, JSONObject formData) { 15 | String var3 = "CN"; 16 | if (params != null) { 17 | Object var4 = params.get("prefix"); 18 | if (var4 != null) { 19 | var3 = var4.toString(); 20 | } 21 | } 22 | 23 | SimpleDateFormat var8 = new SimpleDateFormat("yyyyMMddHHmmss"); 24 | int var5 = RandomUtils.nextInt(90) + 10; 25 | String var6 = var3 + var8.format(new Date()) + var5; 26 | String var7 = formData.getString("name"); 27 | if (!StringUtils.isEmpty(var7)) { 28 | var6 = var6 + var7; 29 | } 30 | 31 | return var6; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/handler/IFillRuleHandler.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.handler; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | 5 | /** 6 | * 填值规则接口 7 | * 8 | * 如需使用填值规则功能,规则实现类必须实现此接口 9 | */ 10 | public interface IFillRuleHandler { 11 | 12 | /** 13 | * @param params 页面配置固定参数 14 | * @param formData 动态表单参数 15 | * @return 16 | */ 17 | public Object execute(JSONObject params, JSONObject formData); 18 | 19 | } 20 | 21 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/service/DbTableHandleI.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.service; 2 | 3 | 4 | 5 | import org.springblade.mng.config.exception.DBException; 6 | import org.springblade.mng.config.util.ColumnMeta; 7 | 8 | 9 | public interface DbTableHandleI { 10 | //新增字段接口 11 | String getAddColumnSql(ColumnMeta columnMeta); 12 | //修改字段名称 13 | String getReNameFieldName(ColumnMeta columnMeta); 14 | //修改字段属性 15 | String getUpdateColumnSql(ColumnMeta cgformcolumnMeta, ColumnMeta datacolumnMeta) throws DBException; 16 | 17 | String getMatchClassTypeByDataType(String var1, int var2); 18 | 19 | //删除表 20 | String dropTableSQL(String tableName); 21 | //删除某一个字段 22 | String getDropColumnSql(String fieldName); 23 | 24 | String getCommentSql(ColumnMeta columnMeta); 25 | 26 | String getSpecialHandle(ColumnMeta cgformcolumnMeta, ColumnMeta datacolumnMeta); 27 | 28 | String dropIndexs(String indexName, String tableName); 29 | 30 | String countIndex(String indexName, String tableName); 31 | } 32 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/BrowserType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util; 2 | 3 | /** 4 | * 5 | * @Author 张代浩 6 | * 7 | */ 8 | public enum BrowserType { 9 | IE11,IE10,IE9,IE8,IE7,IE6,Firefox,Safari,Chrome,Opera,Camino,Gecko 10 | } 11 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/DbType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util; 2 | 3 | /** 4 | * 数据库类型公共类 5 | */ 6 | public class DbType { 7 | public static final String BIG_DECIMAL = "BigDecimal"; 8 | public static final String BLOB = "Blob"; 9 | public static final String DATE = "Date"; 10 | public static final String DATE_TIME = "DateTime"; 11 | public static final String TIME = "Time"; 12 | public static final String DOUBLE = "double"; 13 | public static final String INT = "int"; 14 | public static final String STRING = "string"; 15 | public static final String TEXT = "Text"; 16 | public static final String TEXT_AREA = "textarea"; 17 | public static final String BIG_INT = "bigint"; 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/MjkjUtil.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util; 2 | 3 | import org.springblade.core.tool.jackson.JsonUtil; 4 | import org.springblade.core.tool.utils.Func; 5 | import org.springblade.core.tool.utils.StringUtil; 6 | import org.springblade.core.tool.utils.WebUtil; 7 | 8 | import java.util.HashMap; 9 | import java.util.HashSet; 10 | import java.util.Map; 11 | 12 | /** 13 | * @author jh 14 | * @version 1.0 15 | * @date 2022/6/14 10:38 16 | */ 17 | public class MjkjUtil { 18 | 19 | // json转换 20 | public static String stringTojson(String text) { 21 | String header = WebUtil.getRequest().getHeader("mj-lang"); 22 | if (Func.isNotEmpty(text)) { 23 | Map map = JsonUtil.parse(text, Map.class); 24 | String s = map.get(header); 25 | return s; 26 | } 27 | return ""; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/converter/FieldCommentConverter.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.converter; 2 | 3 | import java.util.Map; 4 | 5 | public interface FieldCommentConverter 6 | { 7 | 8 | String converterToVal(String s); 9 | 10 | String converterToTxt(String s); 11 | 12 | Map getConfig(); 13 | } 14 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/converter/impl/SelSearchFieldCommentConverter.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.converter.impl; 2 | 3 | 4 | import org.springblade.mng.cgform.entity.CgformField; 5 | import org.springblade.mng.config.util.converter.field.TableFieldCommentConverter; 6 | 7 | /** 8 | * 下拉搜索框 9 | */ 10 | public class SelSearchFieldCommentConverter extends TableFieldCommentConverter 11 | { 12 | 13 | public SelSearchFieldCommentConverter(CgformField onlcgformfield) 14 | { 15 | super(onlcgformfield.getDictTable(), onlcgformfield.getDictField(), onlcgformfield.getDictText()); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/converter/impl/SelTreeFieldCommentConverter.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.converter.impl; 2 | 3 | 4 | import org.springblade.mng.cgform.entity.CgformField; 5 | import org.springblade.mng.config.util.converter.field.TableFieldCommentConverter; 6 | 7 | /** 8 | * 树型 9 | */ 10 | public class SelTreeFieldCommentConverter extends TableFieldCommentConverter { 11 | 12 | public SelTreeFieldCommentConverter(CgformField onlCgformField) { 13 | 14 | String dictText = onlCgformField.getDictText(); 15 | String[] strings = dictText.split(","); 16 | this.setTable(onlCgformField.getDictTable()); 17 | this.setCode(strings[0]); 18 | this.setText(strings[2]); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/jsonschema/BaseColumn.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.jsonschema; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 列 配置基本信息 7 | */ 8 | @Data 9 | public class BaseColumn { 10 | 11 | /** 12 | * 列配置 描述 -对应数据库字段描述 13 | */ 14 | private String title; 15 | 16 | /** 17 | * 列配置 名称 -对应数据库字段名 18 | */ 19 | private String field; 20 | 21 | public BaseColumn(){} 22 | 23 | public BaseColumn(String title,String field){ 24 | this.title = title; 25 | this.field = field; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/jsonschema/validate/HiddenProperty.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.jsonschema.validate; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | import org.springblade.mng.config.util.jsonschema.CommonProperty; 5 | 6 | 7 | import java.util.HashMap; 8 | import java.util.Map; 9 | 10 | /** 11 | * 字典属性 12 | * @author 86729 13 | * 14 | */ 15 | public class HiddenProperty extends CommonProperty { 16 | 17 | private static final long serialVersionUID = -8939298551502162479L; 18 | 19 | public HiddenProperty() {} 20 | 21 | public HiddenProperty(String key,String title) { 22 | this.type = "string"; 23 | this.view = "hidden"; 24 | this.key = key; 25 | this.title = title; 26 | } 27 | 28 | @Override 29 | public Map getPropertyJson() { 30 | Map map = new HashMap<>(); 31 | map.put("key",getKey()); 32 | JSONObject prop = getCommonJson(); 33 | prop.put("hidden",true); 34 | map.put("prop",prop); 35 | return map; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/sms/AliSmsConfig.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.sms; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 阿里云 7 | */ 8 | @Data 9 | public class AliSmsConfig { 10 | 11 | private String accessKey; 12 | private String secretKey; 13 | private String qm; //签名 14 | 15 | private String yjdx;//预缴短信 16 | private String sfdx;//收费短信 17 | private String xzdx;//销账短信 18 | private String sczddx;//生成账单短信 19 | 20 | private String qfdx;//欠费短信 21 | private String tyyzm;//体验验证码 22 | private String zhdqdx;//租户到期短信 23 | private String gzgzhdx;//关注公众号短信 24 | private String bytzdx;//保养通知短信 25 | private String byhtdqdx;//保养合同到期 26 | } 27 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/config/util/sms/YunMasConfig.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.config.util.sms; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 移动短信验证码 7 | */ 8 | @Data 9 | public class YunMasConfig { 10 | 11 | //移动云 12 | private String ecName;//企业名称。 13 | private String apId;//接口账号用户名 14 | private String secretKey;//密码 15 | private String mobiles;//收信手机号码。英文逗号分隔,每批次限5000个号码,例:“13800138000,13800138001,13800138002”。 16 | private String content;//短信内容。 17 | private String sign;//签名编码。在云MAS平台『管理』→『接口管理』→『短信接入用户管理』获取。 18 | private String addSerial; 19 | private String mac;//参数校验序列,生成方法:将ecName、apId、secretKey、mobiles、content、sign、addSerial按序拼接(无间隔符),通过MD5(32位小写)计算得出值。 20 | private String url;//请求地址 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/enhance/images/ViewImageDelEnhance.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.enhance.images; 2 | 3 | import com.alibaba.fastjson.JSONObject; 4 | import com.baomidou.mybatisplus.core.toolkit.IdWorker; 5 | import org.springblade.mng.cgform.entity.CgformHead; 6 | import org.springblade.mng.cgform.model.CgformEnhanceJavaInter; 7 | import org.springblade.mng.cgform.service.IMjkjBaseSqlService; 8 | import org.springblade.mng.config.exception.BusinessException; 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Component; 11 | 12 | /** 13 | *view_image_list 14 | */ 15 | @Component("viewImageDelEnhance") 16 | public class ViewImageDelEnhance implements CgformEnhanceJavaInter { 17 | 18 | @Autowired 19 | private IMjkjBaseSqlService mjkjBaseSqlService; 20 | /** 21 | */ 22 | public int execute(CgformHead head, JSONObject jsonobject) 23 | throws BusinessException{ 24 | String id= IdWorker.getIdStr(); 25 | 26 | mjkjBaseSqlService.baseDeleteSqlStr("chat_image_info",id); 27 | 28 | return -1; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/event/FileLogEvent.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.event; 2 | 3 | import org.springframework.context.ApplicationEvent; 4 | 5 | public class FileLogEvent extends ApplicationEvent { 6 | public FileLogEvent(Object source) { 7 | super(source); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/mapper/ApiIndexMapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * Neither the name of the dreamlu.net developer nor the names of its 13 | * contributors may be used to endorse or promote products derived from 14 | * this software without specific prior written permission. 15 | * Author: Chill 庄骞 (smallchill@163.com) 16 | */ 17 | package org.springblade.mng.mapper; 18 | 19 | /** 20 | *首页相关 21 | */ 22 | public interface ApiIndexMapper { 23 | 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/mapper/ApiIndexMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/mapper/ImageMapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * 7 | * Redistributions of source code must retain the above copyright notice, 8 | * this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * Neither the name of the dreamlu.net developer nor the names of its 13 | * contributors may be used to endorse or promote products derived from 14 | * this software without specific prior written permission. 15 | * Author: Chill 庄骞 (smallchill@163.com) 16 | */ 17 | package org.springblade.mng.mapper; 18 | 19 | import com.baomidou.mybatisplus.core.metadata.IPage; 20 | 21 | import java.util.Map; 22 | 23 | /** 24 | *图片相关相关 25 | */ 26 | public interface ImageMapper { 27 | 28 | IPage> getMyStarHistoryPage(IPage page, String wxuserId); 29 | } 30 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/mapper/ImageMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/mapper/MjkjFileIndexMapper.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.mapper; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | /** 7 | * 文件管理-首页统计 8 | */ 9 | public interface MjkjFileIndexMapper { 10 | 11 | //统计相关 12 | Long getTjZyzlCouByTime(String time);//今日总量 13 | Long getTjZyzlCouByMonth(String time);//今月总量 14 | Long getTjWdCouByTime(String time);//文档数量 15 | Long getTjSpCouByTime(String time);//视频数量 16 | 17 | Long getTjCouByMonth(String time, String type);//下载量月 18 | Long getTjCouByDay(String time, String type);//下载量天 19 | List> uploadList(String paramStartTime, String paramEndTime);//上传列表 20 | List> downloadList(String paramStartTime, String paramEndTime);//下载列表 21 | 22 | Long getYlUserDay(String time);//视频数量 23 | Long getYlCouDay(String time);//视频数量 24 | 25 | Long getTjUserCouByTime(String time);//今日总量 26 | } 27 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/AccountUseCouModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class AccountUseCouModel { 7 | private String id; 8 | private String apiKey; 9 | private int cou;//使用次数 10 | } 11 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/AiModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * @author JX 7 | * @create 2023-09-22 14:07 8 | * @dedescription: 9 | */ 10 | @Data 11 | public class AiModel { 12 | private String mx_lx; 13 | private Integer is_use_rl; 14 | private Integer use_num; 15 | private Integer model_type; 16 | private String show_name; 17 | private String image_size; 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/ChatGptMoreFunModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Date; 6 | 7 | /** 8 | * 更多好玩 9 | */ 10 | @Data 11 | public class ChatGptMoreFunModel { 12 | private String id; 13 | private String chatCode;//消息号 14 | private String fun_data_id;//更多好玩id 15 | private String message_a;//内存 16 | private Date message_q_time; 17 | private Integer store_status; 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/ChatGptMsgModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Date; 6 | 7 | @Data 8 | public class ChatGptMsgModel { 9 | 10 | private String id; 11 | private String pid; 12 | //消息id 13 | private String chatCode; 14 | 15 | private String message_type;//q=提问 a=回答 16 | 17 | private String message_content;//内存 18 | 19 | private Date message_time;//时间 20 | 21 | private String view_type;//显示方式 22 | 23 | private String useTime;//耗时 24 | 25 | private Integer store_status; //收藏状态 26 | 27 | 28 | private String size;//尺寸 29 | 30 | private String proportion;//比例 31 | 32 | private String picture; 33 | 34 | private String uuid; 35 | 36 | private String chat_list_id; 37 | } 38 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/ChatGptResult.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class ChatGptResult { 9 | private String id; 10 | private String object; 11 | private String model; 12 | private List choices; 13 | 14 | @Data 15 | public static class choiceModel{ 16 | private String text; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/ChatGptTurboResult.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class ChatGptTurboResult { 9 | private String id; 10 | private String object; 11 | private String model; 12 | private List choices; 13 | private UsageModel usage; 14 | @Data 15 | public static class UsageModel{ 16 | private Integer prompt_tokens; 17 | private Integer completion_tokens; 18 | private Integer total_tokens; 19 | } 20 | 21 | @Data 22 | public static class ChoiceModel{ 23 | private MessageModel message; 24 | } 25 | @Data 26 | public static class MessageModel{ 27 | private String role; 28 | private String content; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/MessageModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class MessageModel { 7 | private String role; 8 | private String content; 9 | } 10 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/MessageModelRoleType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | public interface MessageModelRoleType { 4 | String SYSTEM="system"; 5 | String USER="user";//用户 6 | String CHATGPT="assistant";//chatgpt 7 | } 8 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/MessageType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | public interface MessageType { 4 | String Q="q";//问题 5 | String A="a";//答案 6 | } 7 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/ResultModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 返回值 7 | */ 8 | @Data 9 | public class ResultModel { 10 | private int code;//返回码 11 | private String resultStr; 12 | } 13 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/UrlModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class UrlModel { 7 | private String url; 8 | } 9 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/model/ViewType.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.model; 2 | 3 | public interface ViewType { 4 | String TEXT="text";//文本 5 | String IMAGE="image";//图像 6 | String ERROR="error";//错误 7 | } 8 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/ChatGptParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * ChatGpt 相关参数 7 | */ 8 | @Data 9 | public class ChatGptParam { 10 | private String url;//地址 必填 11 | private String key;//key 比填 12 | private String model;//模型名称,指定使用的ChatGPT模型。 必填 13 | private String prompt;//输入的文本提示 必填 14 | private Integer temperature;//控制生成文本的多样性 15 | private Integer max_tokens;//控制生成文本的长度 16 | private Integer top_p;//控制生成文本的多样性 17 | } 18 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/ChatGptPublicParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * ChatGpt 相关参数 7 | */ 8 | @Data 9 | public class ChatGptPublicParam { 10 | private String url;//地址 必填 11 | private String key;//key 比填 12 | private String body;// 13 | } 14 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/ChatLogShareMessageParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ChatLogShareMessageParam { 7 | private String[] messageIds;//messageIds对应chat_log_message的id,作消息的序列号 8 | private String onlyId; //唯一标识符 9 | } 10 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/CheckMessageParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class CheckMessageParam { 7 | private String str; 8 | } 9 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/CreditListParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | import org.springblade.core.mp.support.Query; 5 | 6 | /** 7 | * @author JX 8 | * @create 2023-10-19 10:05 9 | * @dedescription: 10 | */ 11 | @Data 12 | public class CreditListParam extends Query { 13 | private String type; 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/FunHistoryParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | import org.springblade.core.mp.support.Query; 5 | 6 | /** 7 | * @author JX 8 | * @create 2023-10-30 9:12 9 | * @dedescription: 10 | */ 11 | @Data 12 | public class FunHistoryParam extends Query { 13 | private String funDataId; 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/MessageHistoryParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | import org.springblade.core.mp.support.Query; 5 | 6 | @Data 7 | public class MessageHistoryParam extends Query { 8 | private Long startNum; 9 | private String modelType;//分类 10 | private String chatListId; 11 | private String type; //pc端 12 | } 13 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/MoreFunParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 更多好玩 7 | */ 8 | @Data 9 | public class MoreFunParam { 10 | private String funFataId;//更多好玩id 11 | private String systemTitle;//系统标题 12 | private String content;//内容 13 | private String paramJson;//参数json 14 | private String text_type; //回复的格式 15 | private String chat_list_id; //聊天列表id 16 | private String type;//客户端 pc 17 | } 18 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/QuestionParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class QuestionParam { 7 | //问题 8 | private String question; 9 | 10 | //分类 11 | private String modelType; 12 | 13 | //上下文id 14 | private String startMessageId; 15 | 16 | private String uuid; 17 | 18 | //回复的文本类型 19 | private String text_type; 20 | 21 | //对应聊天列表的id 22 | private String chatListId; 23 | 24 | //当前的的客户端类型 新版pc端为pc 25 | private String type; 26 | } 27 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/TargetLangModel.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class TargetLangModel { 7 | private String targetLang; 8 | } 9 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/WebQueryParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | import org.springblade.core.mp.support.Query; 5 | 6 | @Data 7 | public class WebQueryParam extends Query { 8 | private String wxuserId; 9 | } 10 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/WuserInfoUpdateParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | *更新用户信息 7 | */ 8 | @Data 9 | public class WuserInfoUpdateParam { 10 | String wxName; //用户名 11 | String wxAvatar; //头像 12 | String phone; 13 | //个人设置 14 | String translateLang;//默认翻译语言 15 | //提现二维码 16 | String withdrawalQrcode;//提现二维码 17 | String aiModel;//选择模型 18 | String imageModel;//绘画模型 19 | String sign; //个性签名 20 | String code; //手机验证码 21 | } 22 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/mng/MngMemberParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param.mng; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 后台-人工充值会员 7 | */ 8 | @Data 9 | public class MngMemberParam { 10 | private String phone; 11 | private String type;//add=增加 sub=减少 12 | private Integer day; 13 | private String amount; 14 | private String remark; 15 | private Integer rlCou; 16 | } 17 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/mng/MngQuestionCouParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param.mng; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * 后台-人工修改次数 9 | */ 10 | @Data 11 | public class MngQuestionCouParam { 12 | private List ids; 13 | private String type;//add=增加 sub=减少 14 | private Integer num; 15 | private String remark; 16 | 17 | private String manageType; //question 提问次数 rl 燃料次数 18 | } 19 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/param/wechatrot/WechatUserParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.param.wechatrot; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class WechatUserParam { 7 | private String wechatId; 8 | private String wechatName; 9 | private String wechatContent; 10 | private String wechatMessageId; 11 | private String wechatMessageType;//wechat=个人 wechatgroup=微信群 12 | private String wechatMessageSign;//验证 c6cfdf3ee1e3f14b33b7ba7207690252 13 | private String groupName; 14 | } 15 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/service/IChatGPTService.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.service; 2 | 3 | import org.springblade.mng.model.AccountUseCouModel; 4 | import org.springblade.mng.model.ChatGptTurboResult; 5 | import org.springblade.mng.model.MessageModel; 6 | 7 | import java.util.Date; 8 | import java.util.List; 9 | 10 | /** 11 | * ChatGpt相关 12 | */ 13 | public interface IChatGPTService { 14 | 15 | //gpt3.0 16 | void sendChatGptMessage(String wxUserId, String q_logMessageId, String question, Long startMessageId, Long chatListIdL); 17 | 18 | //gpt3.5 19 | void sendChatGptTurboMessage(String wxUserId, String q_logMessageId, String question, Long startMessageId, Date sendTime, Long chatListIdL); 20 | 21 | //发送实时消息,长连接等着返回 22 | String sendNowTimeChatGptTurboMessage(List messagesList, String model); 23 | 24 | AccountUseCouModel getChatGptKey(); 25 | 26 | List getChatGptTurboResponse(List messagesList, AccountUseCouModel accountModel, String aiModel); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/service/IMngMessageService.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.service; 2 | 3 | /** 4 | * 后台消息相关 5 | */ 6 | public interface IMngMessageService { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/service/IMngService.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.service; 2 | 3 | import org.springblade.mng.param.mng.MngMemberParam; 4 | import org.springblade.mng.param.mng.MngQuestionCouParam; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | * 后台相关 10 | */ 11 | public interface IMngService { 12 | 13 | //修改可提问问题次数 14 | void updateQuestionCou(MngQuestionCouParam param); 15 | //人工充值 16 | void addGoodsOrder(Map wxuserMap, MngMemberParam param); 17 | } 18 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/service/ISmsService.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.service; 2 | 3 | /** 4 | * 短信相关 5 | */ 6 | public interface ISmsService { 7 | 8 | //发送短信验证码 9 | boolean sendSms(String phone, String code); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/service/impl/MngMessageServiceImpl.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.service.impl; 2 | 3 | import lombok.extern.slf4j.Slf4j; 4 | import org.springblade.mng.service.IMngMessageService; 5 | import org.springframework.stereotype.Service; 6 | 7 | 8 | /** 9 | * 后台消息相关 10 | */ 11 | @Slf4j 12 | @Service 13 | public class MngMessageServiceImpl implements IMngMessageService { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/java/org/springblade/mng/utils/imagecode/SliderPuzzleInfo.java: -------------------------------------------------------------------------------- 1 | package org.springblade.mng.utils.imagecode; 2 | 3 | import lombok.Data; 4 | 5 | import java.awt.image.BufferedImage; 6 | 7 | @Data 8 | public class SliderPuzzleInfo{ 9 | /** 10 | * 大图宽度 11 | */ 12 | private Integer bigWidth; 13 | 14 | /** 15 | * 大图高度 16 | */ 17 | private Integer bigHeight; 18 | 19 | /** 20 | * 大图转BASE64字符串 21 | */ 22 | private String bigImageBase64; 23 | 24 | /** 25 | * 大图 26 | */ 27 | private BufferedImage bigImage; 28 | 29 | /** 30 | * 随机坐标Y 31 | */ 32 | private Integer posY; 33 | /** 34 | * 随机坐标X 35 | */ 36 | private Integer posX; 37 | 38 | /** 39 | * 小图宽度 40 | */ 41 | private Integer smallWidth; 42 | /** 43 | * 小图高度 44 | */ 45 | private Integer smallHeight; 46 | 47 | /** 48 | * 小图转BASE64字符串 49 | */ 50 | private String smallImageBase64; 51 | 52 | /** 53 | * 小图 54 | */ 55 | private BufferedImage smallImage; 56 | 57 | /*token*/ 58 | private String token; 59 | 60 | 61 | } 62 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/resources/application-dev.yml: -------------------------------------------------------------------------------- 1 | #数据源配置 2 | spring: 3 | servlet: 4 | multipart: 5 | max-file-size: 50MB 6 | max-request-size: 50MB 7 | datasource: 8 | url: ${blade.datasource.dev.url} 9 | username: ${blade.datasource.dev.username} 10 | password: ${blade.datasource.dev.password} 11 | 12 | blade: 13 | log: 14 | request: 15 | enabled: true 16 | 17 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/resources/application-prod.yml: -------------------------------------------------------------------------------- 1 | #数据源配置 2 | spring: 3 | servlet: 4 | multipart: 5 | max-file-size: 50MB 6 | max-request-size: 50MB 7 | datasource: 8 | url: ${blade.datasource.prod.url} 9 | username: ${blade.datasource.prod.username} 10 | password: ${blade.datasource.prod.password} 11 | 12 | blade: 13 | log: 14 | request: 15 | enabled: false 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/resources/application-test.yml: -------------------------------------------------------------------------------- 1 | #数据源配置 2 | spring: 3 | servlet: 4 | multipart: 5 | max-file-size: 50MB 6 | max-request-size: 50MB 7 | datasource: 8 | url: ${blade.datasource.test.url} 9 | username: ${blade.datasource.test.username} 10 | password: ${blade.datasource.test.password} 11 | 12 | blade: 13 | log: 14 | request: 15 | enabled: true 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #服务器端口 2 | server: 3 | port: 9878 4 | #mjkj专用配置 5 | mjkj: 6 | excludeTable: linaaa_ #onl_,sys_,blade_ #排除表明开头 7 | databaseSchema: chat #数据库名称,反向生成代码用到 8 | generateExcludeTable: blade_*,design_*,onl_cgform_*,sys_*,design_desform_data #反向生成表结构排除表 9 | 10 | #blade配置 11 | blade: 12 | #接口配置 13 | api: 14 | # 报文加密配置 15 | crypto: 16 | # 启用报文加密配置 17 | enabled: true 18 | # 使用AesUtil.genAesKey()生成 19 | aes-key: "YgDAc1LCCwH2Wff99IaYxseN0K4A38bV" 20 | # 使用DesUtil.genDesKey()生成 21 | des-key: "jMVCBsFGDQr1USHo" 22 | #jackson配置 23 | jackson: 24 | # 支持text文本请求,与报文加密同时开启 25 | support-text-plain: true 26 | secure: 27 | #接口放行 28 | skip-url: 29 | - /mjkj-chat/chat/open/** 30 | - /mjkj-chat/sys/sys/dict/getDictItems/** 31 | - /mjkj-chat/cgform-api/getData/** 32 | - /mjkj-chat/cgform-api/detailData/** 33 | - /mjkj-chat/desform-api/desform/** 34 | - /blade-message/message/** 35 | - /mjkj-chat/chat/ai/level/list 36 | - /mjkj-chat/chat/ai/problem/list 37 | - /mjkj-chat-lin/** 38 | - /mjkj-chat-pj/** 39 | - /mjkj-chat-sh/chat/open/** 40 | - /mjkj-chat-zh/chat/open/** 41 | - /blade-system/** 42 | debug: true 43 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/resources/hibernate.cfg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | true 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/mjkj-bladex/src/main/resources/rebel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | mjkj-bladex 10 | 11 | 12 |

13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-plugin/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | org.springblade 6 | SpringBlade 7 | 3.7.1 8 | 9 | blade-plugin 10 | blade-plugin 11 | pom 12 | 3.7.1 13 | 14 | mjkj-bladex 15 | 16 | 17 | 18 | 19 | 20 | org.springblade 21 | blade-common 22 | ${blade.project.version} 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-service-api/blade-user-api/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | blade-service-api 7 | org.springblade 8 | 3.7.1 9 | 10 | 4.0.0 11 | 12 | blade-user-api 13 | ${project.artifactId} 14 | 3.7.1 15 | jar 16 | 17 | 18 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/entity/SmsCodeParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.system.user.entity; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 短信验证码相关 7 | */ 8 | @Data 9 | public class SmsCodeParam { 10 | String code;//验证码 11 | String phone;//手机号码 12 | } 13 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/entity/WxOpenParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.system.user.entity; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 微信开放平台 7 | */ 8 | @Data 9 | public class WxOpenParam { 10 | String type;//register=注册 login=登录 11 | String uuid;//唯一id 12 | String phone;//手机号码 13 | 14 | //注册 15 | String inviteCode; 16 | } 17 | -------------------------------------------------------------------------------- /chatgpt-cloud/blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/entity/WxUserParam.java: -------------------------------------------------------------------------------- 1 | package org.springblade.system.user.entity; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 微信用户相关 7 | */ 8 | @Data 9 | public class WxUserParam { 10 | String code; 11 | String wxName; 12 | String wxAvatar; 13 | String inviteCode;//邀请码 14 | String phone;//手机号码 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt-cloud/后台.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt-cloud/后台.txt -------------------------------------------------------------------------------- /chatgpt_http/src/main/java/com/mjkj/chatgpt/ChatGptApplication.java: -------------------------------------------------------------------------------- 1 | package com.mjkj.chatgpt; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ChatGptApplication { 8 | 9 | public static void main(String[] args) { 10 | 11 | SpringApplication.run(ChatGptApplication.class, args); 12 | System.out.println("*************** ChatGPT 启动成功 *******************"); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt_http/src/main/java/com/mjkj/chatgpt/model/ChatGptParam.java: -------------------------------------------------------------------------------- 1 | package com.mjkj.chatgpt.model; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * ChatGpt 相关参数 7 | */ 8 | @Data 9 | public class ChatGptParam { 10 | private String url;//地址 必填 11 | private String key;//key 比填 12 | private String model;//模型名称,指定使用的ChatGPT模型。 必填 13 | private String prompt;//输入的文本提示 必填 14 | private Integer temperature;//控制生成文本的多样性 15 | private Integer max_tokens;//控制生成文本的长度 16 | private Integer top_p;//控制生成文本的多样性 17 | } 18 | -------------------------------------------------------------------------------- /chatgpt_http/src/main/java/com/mjkj/chatgpt/model/ChatGptPublicParam.java: -------------------------------------------------------------------------------- 1 | package com.mjkj.chatgpt.model; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * ChatGpt 公共接口 7 | */ 8 | @Data 9 | public class ChatGptPublicParam { 10 | private String url;//地址 必填 11 | private String key;//key 比填 12 | private String body;//请求体 13 | } 14 | -------------------------------------------------------------------------------- /chatgpt_http/src/main/java/com/mjkj/chatgpt/model/ReqParam.java: -------------------------------------------------------------------------------- 1 | package com.mjkj.chatgpt.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class ReqParam { 7 | private String paramStr; 8 | } 9 | -------------------------------------------------------------------------------- /chatgpt_http/src/main/java/com/mjkj/chatgpt/model/ResultModel.java: -------------------------------------------------------------------------------- 1 | package com.mjkj.chatgpt.model; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 返回值 7 | */ 8 | @Data 9 | public class ResultModel { 10 | private int code;//返回码 11 | private String resultStr; 12 | } 13 | -------------------------------------------------------------------------------- /chatgpt_http/src/main/java/com/mjkj/chatgpt/service/IChatGPTService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.mjkj.chatgpt.service; 17 | 18 | 19 | import com.mjkj.chatgpt.model.ChatGptParam; 20 | import com.mjkj.chatgpt.model.ChatGptPublicParam; 21 | 22 | /** 23 | * 服务类 24 | * 25 | * @author Chill 26 | */ 27 | public interface IChatGPTService { 28 | 29 | //获取GPT内容 30 | String getChatContent(ChatGptParam gptModel); 31 | 32 | //获取公共参数 33 | String getChatGptPublic(ChatGptPublicParam param); 34 | } 35 | -------------------------------------------------------------------------------- /chatgpt_http/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9885 3 | 4 | log: 5 | path: /home/xxx_logs 6 | -------------------------------------------------------------------------------- /chatgpt_pc/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chatgpt_pc/.eslintignore: -------------------------------------------------------------------------------- 1 | 2 | /src/components/ua2-markdown -------------------------------------------------------------------------------- /chatgpt_pc/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true 5 | }, 6 | 'extends': [ 7 | 'plugin:vue/essential', 8 | 'eslint:recommended' 9 | ], 10 | parserOptions: { 11 | parser: '@babel/eslint-parser' 12 | }, 13 | rules: { 14 | 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 15 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 16 | 'vue/multi-word-component-names': 'off', 17 | 'no-unused-vars': 'off', 18 | "vue/no-unused-components": "off", 19 | "no-mixed-spaces-and-tabs":0 20 | }, 21 | "globals":{ 22 | "MozWebSocket": true, 23 | "define": true 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /chatgpt_pc/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | -------------------------------------------------------------------------------- /chatgpt_pc/README.md: -------------------------------------------------------------------------------- 1 | # chat_ai_web 2 | ## 超级AI大脑PC端 3 | ## Project setup 4 | ``` 5 | npm install 6 | ``` 7 | 依赖安装失败,可以通过此链接直接下载 8 | 链接:https://pan.baidu.com/s/1gZEBuXEA-EGvMoKtT0M2mg?pwd=mjkj 9 | 提取码:mjkj 10 | 11 | 12 | ### Compiles and hot-reloads for development 13 | ``` 14 | npm run serve 15 | ``` 16 | 17 | ### Compiles and minifies for production 18 | ``` 19 | npm run build 20 | ``` 21 | 22 | ### Lints and fixes files 23 | ``` 24 | npm run lint 25 | ``` 26 | 27 | ### Customize configuration 28 | See [Configuration Reference](https://cli.vuejs.org/config/). 29 | -------------------------------------------------------------------------------- /chatgpt_pc/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /chatgpt_pc/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "module": "esnext", 5 | "baseUrl": "./", 6 | "moduleResolution": "node", 7 | "paths": { 8 | "@/*": [ 9 | "src/*" 10 | ] 11 | }, 12 | "lib": [ 13 | "esnext", 14 | "dom", 15 | "dom.iterable", 16 | "scripthost" 17 | ] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /chatgpt_pc/public/AI-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/public/AI-logo.png -------------------------------------------------------------------------------- /chatgpt_pc/src/api/plot.js: -------------------------------------------------------------------------------- 1 | import request from '@/api/request.js'; 2 | import website from '@/config/website'; 3 | 4 | //生成图片 5 | export const getAiImageApi = (data) => { 6 | return request({ 7 | url: `/api/${website.apiRequestHead}/chat/drawimage/send/image`, 8 | method: 'post', 9 | data, 10 | }) 11 | } 12 | //发布审核 13 | export const issueApi = (id, index) => { 14 | return request({ 15 | url: `/api/${website.apiRequestHead}/chat/drawimage/publish/image?tpId=${id}`, 16 | method: 'get', 17 | params: {}, 18 | }) 19 | } 20 | 21 | //获取社区 22 | export const getCommunityList = (params) => { 23 | return request({ 24 | url: `/api/${website.apiRequestHead}/chat/open/get/community/image?size=${params.size}¤t=${params.current}&type=${params.type}&name=${params.name}`, 25 | method: 'get', 26 | params: {}, 27 | }) 28 | } 29 | 30 | //获取历史作品记录 31 | export const getHistoryList = (params) => { 32 | return request({ 33 | url: `/api/${website.apiRequestHead}/chat/drawimage/get/image/history?size=${params.size}¤t=${params.current}`, 34 | method: 'get', 35 | params: {}, 36 | }) 37 | } 38 | -------------------------------------------------------------------------------- /chatgpt_pc/src/assets/icon/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/assets/icon/iconfont.ttf -------------------------------------------------------------------------------- /chatgpt_pc/src/assets/icon/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/assets/icon/iconfont.woff -------------------------------------------------------------------------------- /chatgpt_pc/src/assets/icon/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/assets/icon/iconfont.woff2 -------------------------------------------------------------------------------- /chatgpt_pc/src/components/announcement/announcement.js: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | 3 | import announcement from "./announcement.vue"; 4 | 5 | let PromptConstructor = Vue.extend(announcement); 6 | let instance; 7 | 8 | const announcementVue = function(options = {}) { 9 | instance = new PromptConstructor({ 10 | data: options, 11 | }); 12 | document.body.appendChild(instance.$mount().$el); 13 | }; 14 | 15 | export default announcementVue; -------------------------------------------------------------------------------- /chatgpt_pc/src/config/env.js: -------------------------------------------------------------------------------- 1 | // 阿里矢量图标库配置 2 | // let iconfontVersion = ['567566_pwc3oottzol']; 3 | // let iconfontUrl = `//at.alicdn.com/t/font_$key.css`; 4 | 5 | let baseUrl = ''; 6 | let codeUrl = `${baseUrl}/code` 7 | const env = process.env 8 | 9 | export { 10 | baseUrl, 11 | // iconfontUrl, 12 | // iconfontVersion, 13 | codeUrl, 14 | env 15 | } 16 | -------------------------------------------------------------------------------- /chatgpt_pc/src/config/website.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 全局配置文件 3 | */ 4 | import { env } from './env'; 5 | export default { 6 | 7 | 8 | key: 'uni-chatgpt-web',//配置主键,目前用于存储 9 | tokenHeader: 'Blade-Auth', 10 | //接口访问服务头部 11 | Authorization: 'c2FiZXI6c2FiZXJfc2VjcmV0', 12 | apiRequestHead: env.NODE_ENV == 'development' ? 'mjkj-chat' : 'mjkj-chat', 13 | 14 | } -------------------------------------------------------------------------------- /chatgpt_pc/src/static/AI-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/AI-logo.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/1.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/10.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/11.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/12.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/3.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/4.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/5.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/6.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/7.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/8.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/9.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/collect (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/collect (1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/collect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/collect.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/copy.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/delete.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/chat/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/chat/list.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/df_avatar_nan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/df_avatar_nan.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/bg2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/collect(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/collect(1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/collect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/collect.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/copy.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/delete(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/delete(1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/delete.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/fb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/fb.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/gd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/gd.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/management.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/management.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/tx.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/update.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/drawing/xz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/drawing/xz.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/1.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/3.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/4.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/5.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/6.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/7.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/grade/gradebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/grade/gradebg.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/bg1.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/bg1.1.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/bg1.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/bg2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/chat.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/czgl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/czgl.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/gr (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/gr (1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/gr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/gr.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/hh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/hh.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/hyck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/hyck.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/hyzx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/hyzx.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/icontu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/icontu.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/jf(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/jf(1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/jf(2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/jf(2).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/jf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/jf.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/mf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/mf.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/pt(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/pt(1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/pt.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/qd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/qd.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/qx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/qx.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/rl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/rl.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/tj2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/tj2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip (1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip1.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip2.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip2.2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip2.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip3.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/vip4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/vip4.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/wx.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/xx(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/xx(1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/yq (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/yq (1).png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/yq .png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/yq .png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/yqd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/yqd.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/yts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/yts.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/zfb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/zfb.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/zh.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/zhsz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/zhsz.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/zn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/zn.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/index/zs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/index/zs.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/morechat_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/morechat_bg.png -------------------------------------------------------------------------------- /chatgpt_pc/src/static/wxgzh.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/chatgpt_pc/src/static/wxgzh.jpg -------------------------------------------------------------------------------- /chatgpt_pc/src/store/getters.js: -------------------------------------------------------------------------------- 1 | const getters = { 2 | // user 3 | tenantId: state => state.user.tenantId, 4 | userInfo: state => state.user.userInfo, 5 | token: state => state.user.token, 6 | refreshToken: state => state.user.refreshToken, 7 | isLogin: state => state.user.isLogin, 8 | inviteCode: state => state.user.inviteCode, 9 | shareId: state => state.user.shareId, 10 | settingObj: state => state.user.settingObj, 11 | commissionData: state => state.user.commissionData, 12 | isSign: state => state.user.isSign, 13 | 14 | 15 | //other 16 | sysConfig: state => state.other.sysConfig, 17 | 18 | } 19 | export default getters 20 | -------------------------------------------------------------------------------- /chatgpt_pc/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | import user from './modules/user' 4 | import other from './modules/other' 5 | import getters from './getters' 6 | 7 | Vue.use(Vuex) 8 | 9 | export default new Vuex.Store({ 10 | modules: { 11 | user, 12 | other, 13 | }, 14 | getters, 15 | }) 16 | -------------------------------------------------------------------------------- /chatgpt_pc/src/store/modules/other.js: -------------------------------------------------------------------------------- 1 | import { 2 | setStorage, 3 | getStorage 4 | } from "@/utils/storage.js" 5 | import { 6 | } from "@/api/user.js" 7 | 8 | const mqtt = { 9 | state: { 10 | sysConfig: getStorage({ name: 'sysConfig' }) || {}, //系统的配置参数 11 | }, 12 | actions: { 13 | 14 | }, 15 | mutations: { 16 | 17 | SET_SYS_CONFIG(state, sysConfig) { 18 | state.sysConfig = sysConfig 19 | setStorage({ 20 | name: 'sysConfig', 21 | content: state.sysConfig 22 | }) 23 | }, 24 | 25 | } 26 | } 27 | 28 | export default mqtt -------------------------------------------------------------------------------- /chatgpt_pc/src/utils/download.js: -------------------------------------------------------------------------------- 1 | // 注意上传方式应该为数组形式 2 | 3 | export const download = (urlList) => { 4 | urlList.forEach((item, index) => { 5 | var image = new Image(); 6 | // 解决跨域 Canvas 污染问题 7 | image.setAttribute("crossOrigin", "anonymous"); 8 | image.onload = function () { 9 | var canvas = document.createElement("canvas"); 10 | canvas.width = image.width; 11 | canvas.height = image.height; 12 | var context = canvas.getContext("2d"); 13 | context.drawImage(image, 0, 0, image.width, image.height); 14 | var url = canvas.toDataURL("image/png"); //得到图片的base64编码数据 15 | var a = document.createElement("a"); // 生成一个a元素 16 | var event = new MouseEvent("click"); // 创建一个单击事件 17 | a.download = index || "photo"; // 设置图片名称 18 | a.href = url; // 将生成的URL设置为a.href属性 19 | a.dispatchEvent(event); // 触发a的单击事件 20 | }; 21 | image.src = item; 22 | }) 23 | } 24 | -------------------------------------------------------------------------------- /chatgpt_pc/src/utils/share.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import { getInviteurlApi } from '@/api/user' 3 | 4 | export const share = () => { 5 | let p = new Promise((resolve, reject) => { 6 | getInviteurlApi().then(res => { 7 | let title = res.msg 8 | const textArea = document.createElement('textarea') 9 | textArea.value = title 10 | // 使text area不在viewport,同时设置不可见 11 | document.body.appendChild(textArea) 12 | textArea.focus() 13 | textArea.select() 14 | return new Promise((resolve, reject) => { 15 | // 执行复制命令并移除文本框 16 | document.execCommand('copy') ? resolve() : reject(new Error('出错了')) 17 | textArea.remove() 18 | }).then(() => { 19 | Vue.prototype.$message.success("复制成功"); 20 | resolve() 21 | }).catch(() => { 22 | Vue.prototype.$message.error('复制失败') 23 | reject() 24 | }) 25 | // navigator.clipboard 26 | // .writeText(title) 27 | // .then(() => { 28 | // Vue.prototype.$message.success('复制成功') 29 | // }) 30 | // .catch(() => { 31 | // Vue.prototype.$message.error('复制失败') 32 | // }) 33 | }) 34 | }) 35 | return p 36 | } -------------------------------------------------------------------------------- /chatgpt_pc/src/utils/storage.js: -------------------------------------------------------------------------------- 1 | import website from '../config/website' 2 | 3 | const keyName = website.key + '-'; 4 | 5 | export function setStorage(params = {}) { 6 | let { 7 | name, 8 | content, 9 | } = params; 10 | name = keyName + name 11 | let obj = { 12 | dataType: typeof (content), 13 | content: content, 14 | datetime: new Date().getTime() 15 | } 16 | localStorage.setItem(name, JSON.stringify(obj)) 17 | } 18 | 19 | export function getStorage(params = {}) { 20 | let { 21 | name, 22 | debug 23 | } = params; 24 | name = keyName + name 25 | let obj = localStorage.getItem(name) 26 | if (obj) { 27 | obj = JSON.parse(obj) 28 | return debug ? obj : obj.content 29 | } 30 | return '' 31 | } 32 | 33 | export function removeStorage(params = {}) { 34 | let { name } = params 35 | name = keyName + name 36 | return localStorage.removeItem(name) 37 | } -------------------------------------------------------------------------------- /chatgpt_pc/src/utils/token.js: -------------------------------------------------------------------------------- 1 | //封装token的相关逻辑 2 | 3 | // 存储token 4 | 5 | // 读取token 6 | 7 | // 移除token -------------------------------------------------------------------------------- /chatgpt_pc/src/views/handbook.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 30 | 31 | -------------------------------------------------------------------------------- /chatgpt_pc/src/views/inform.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 38 | 39 | -------------------------------------------------------------------------------- /chatgpt_pc/vue.config.js: -------------------------------------------------------------------------------- 1 | const { defineConfig } = require('@vue/cli-service') 2 | module.exports = defineConfig({ 3 | transpileDependencies: true, 4 | devServer: { 5 | // allowedHosts: [ 6 | // 'mj.ink', // 允许访问的域名地址,即花生壳内网穿透的地址 7 | // '.mj.ink' // .是二级域名的通配符 8 | // ], 9 | compress: false, 10 | port: 1889, // 访问端口 11 | proxy: { 12 | '/api': { 13 | //本地服务接口地址 14 | target: 'http://localhost:9872', 15 | ws: true, 16 | pathRewrite: { 17 | '^/api': '/' 18 | } 19 | } 20 | }, 21 | client: { 22 | progress: true, 23 | overlay: false, 24 | }, 25 | }, 26 | chainWebpack: config => { 27 | config.plugin('html').tap(args => { 28 | args[0].title = '超级AI大脑'; 29 | return args; 30 | }) 31 | } 32 | }) -------------------------------------------------------------------------------- /doc/nacos/nacos_config_export_20240418175152.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/doc/nacos/nacos_config_export_20240418175152.zip -------------------------------------------------------------------------------- /doc/验证码图片/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/doc/验证码图片/image.png -------------------------------------------------------------------------------- /doc/验证码图片/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/doc/验证码图片/photo.png -------------------------------------------------------------------------------- /doc/验证码图片/备注.txt: -------------------------------------------------------------------------------- 1 | chatgpt: 2 | uploadUrl: 3 | 把图片放入到该目录下即可,在登录页面点击发送作滑动校验 4 | -------------------------------------------------------------------------------- /images/1650158609331527682_1682263445586.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1650158609331527682_1682263445586.png -------------------------------------------------------------------------------- /images/1650376735184789506_1682315450842.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1650376735184789506_1682315450842.png -------------------------------------------------------------------------------- /images/1650700886562971649_1682392734553.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1650700886562971649_1682392734553.png -------------------------------------------------------------------------------- /images/1651147774541488130_1682499280949.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1651147774541488130_1682499280949.png -------------------------------------------------------------------------------- /images/1651148466899443713_1682499446020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1651148466899443713_1682499446020.png -------------------------------------------------------------------------------- /images/1651149309421871106_1682499646893.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1651149309421871106_1682499646893.png -------------------------------------------------------------------------------- /images/1651149871966117890_1682499781014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1651149871966117890_1682499781014.png -------------------------------------------------------------------------------- /images/1651426937391947777_1682565838560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1651426937391947777_1682565838560.png -------------------------------------------------------------------------------- /images/1682406718076.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1682406718076.png -------------------------------------------------------------------------------- /images/1682406881447.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1682406881447.png -------------------------------------------------------------------------------- /images/1682406917225.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1682406917225.png -------------------------------------------------------------------------------- /images/1682406989125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1682406989125.png -------------------------------------------------------------------------------- /images/1682411107813.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/1682411107813.png -------------------------------------------------------------------------------- /images/A7C6EF10-BF97-4116-AC0F-3E45FEA9F837.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/A7C6EF10-BF97-4116-AC0F-3E45FEA9F837.png -------------------------------------------------------------------------------- /images/AFBB12D7-6EC7-4984-BD8E-87C4792DC47C.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/AFBB12D7-6EC7-4984-BD8E-87C4792DC47C.png -------------------------------------------------------------------------------- /images/Copyright -@BladeX-#ff3f59.svg: -------------------------------------------------------------------------------- 1 | Copyright: @BladeXCopyright@BladeX -------------------------------------------------------------------------------- /images/E23F0D97-6207-4a56-BE51-1B4CEEA7B0E6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/E23F0D97-6207-4a56-BE51-1B4CEEA7B0E6.png -------------------------------------------------------------------------------- /images/JDK-1.8+-green.svg: -------------------------------------------------------------------------------- 1 | JDK: 1.8+JDK1.8+ -------------------------------------------------------------------------------- /images/Snipaste_2023-04-25_17-17-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-25_17-17-50.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-25_17-27-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-25_17-27-20.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-25_17-52-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-25_17-52-04.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-25_17-59-44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-25_17-59-44.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-28_02-12-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-28_02-12-02.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-28_02-16-13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-28_02-16-13.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-28_02-54-21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-28_02-54-21.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-28_11-12-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-28_11-12-24.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-28_11-16-49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-28_11-16-49.png -------------------------------------------------------------------------------- /images/Snipaste_2023-04-28_11-17-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-04-28_11-17-57.png -------------------------------------------------------------------------------- /images/Snipaste_2023-05-05_23-46-35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-05-05_23-46-35.png -------------------------------------------------------------------------------- /images/Snipaste_2023-05-06_00-18-31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-05-06_00-18-31.png -------------------------------------------------------------------------------- /images/Snipaste_2023-05-06_00-21-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/Snipaste_2023-05-06_00-21-40.png -------------------------------------------------------------------------------- /images/Spring Boot-2.7.10-blue.svg: -------------------------------------------------------------------------------- 1 | Spring Boot: 2.7.10Spring Boot2.7.10 -------------------------------------------------------------------------------- /images/a12c434f7a5ce1561c4c774450fca09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/a12c434f7a5ce1561c4c774450fca09.jpg -------------------------------------------------------------------------------- /images/c2dc425f87ce44be30b19e9ff9c3e9f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/c2dc425f87ce44be30b19e9ff9c3e9f.jpg -------------------------------------------------------------------------------- /images/chatgpt应用场景及生态分析.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/chatgpt应用场景及生态分析.png -------------------------------------------------------------------------------- /images/d1b039ce4da3b91d9788388525f458f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/d1b039ce4da3b91d9788388525f458f.jpg -------------------------------------------------------------------------------- /images/desk1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/desk1.png -------------------------------------------------------------------------------- /images/e2e09856de9f4f7377077d2a451cb7c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/e2e09856de9f4f7377077d2a451cb7c.jpg -------------------------------------------------------------------------------- /images/ee8fa19f1311d7e3cdc2536b49a7c4f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/ee8fa19f1311d7e3cdc2536b49a7c4f.jpg -------------------------------------------------------------------------------- /images/f6430894893824de40eb26cb5ddeac8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/f6430894893824de40eb26cb5ddeac8.jpg -------------------------------------------------------------------------------- /images/image-20240425162028247.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240425162028247.png -------------------------------------------------------------------------------- /images/image-20240425172912308.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240425172912308.png -------------------------------------------------------------------------------- /images/image-20240425174613986.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240425174613986.png -------------------------------------------------------------------------------- /images/image-20240425174938524.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240425174938524.png -------------------------------------------------------------------------------- /images/image-20240425175152653.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240425175152653.png -------------------------------------------------------------------------------- /images/image-20240426095531018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240426095531018.png -------------------------------------------------------------------------------- /images/image-20240426095607719.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240426095607719.png -------------------------------------------------------------------------------- /images/image-20240426095639926.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/image-20240426095639926.png -------------------------------------------------------------------------------- /images/lALPJxRxWXd0e8HNBWfNBzA_1840_1383.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/lALPJxRxWXd0e8HNBWfNBzA_1840_1383.png -------------------------------------------------------------------------------- /images/lQLPJwGl2qfBGF7NBP_NA46wEaQDKKfYg1UEW8QiJsDvAA_910_1279.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/lQLPJwGl2qfBGF7NBP_NA46wEaQDKKfYg1UEW8QiJsDvAA_910_1279.png -------------------------------------------------------------------------------- /images/mmexport1682145041145.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682145041145.jpg -------------------------------------------------------------------------------- /images/mmexport1682145099316.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682145099316.jpg -------------------------------------------------------------------------------- /images/mmexport1682145104320.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682145104320.jpg -------------------------------------------------------------------------------- /images/mmexport1682150045749.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682150045749.jpg -------------------------------------------------------------------------------- /images/mmexport1682156392120.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682156392120.jpg -------------------------------------------------------------------------------- /images/mmexport1682160848009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682160848009.jpg -------------------------------------------------------------------------------- /images/mmexport1682160981225.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682160981225.jpg -------------------------------------------------------------------------------- /images/mmexport1682162986368.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682162986368.jpg -------------------------------------------------------------------------------- /images/mmexport1682422530330.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682422530330.jpg -------------------------------------------------------------------------------- /images/mmexport1682571966940.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682571966940.jpg -------------------------------------------------------------------------------- /images/mmexport1682574098103.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682574098103.jpg -------------------------------------------------------------------------------- /images/mmexport1682576223811.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682576223811.jpg -------------------------------------------------------------------------------- /images/mmexport1682576226118.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682576226118.jpg -------------------------------------------------------------------------------- /images/mmexport1682576228612.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682576228612.jpg -------------------------------------------------------------------------------- /images/mmexport1682576232109.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682576232109.jpg -------------------------------------------------------------------------------- /images/mmexport1682586257822.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682586257822.jpg -------------------------------------------------------------------------------- /images/mmexport1682586265500.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682586265500.jpg -------------------------------------------------------------------------------- /images/mmexport1682586272784.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682586272784.jpg -------------------------------------------------------------------------------- /images/mmexport1682586290326.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682586290326.jpg -------------------------------------------------------------------------------- /images/mmexport1682586300376.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682586300376.jpg -------------------------------------------------------------------------------- /images/mmexport1682586324879.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682586324879.jpg -------------------------------------------------------------------------------- /images/mmexport1682592668694.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682592668694.jpg -------------------------------------------------------------------------------- /images/mmexport1682592684173.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682592684173.jpg -------------------------------------------------------------------------------- /images/mmexport1682592728861.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/mmexport1682592728861.jpg -------------------------------------------------------------------------------- /images/下载页展示.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/下载页展示.png -------------------------------------------------------------------------------- /images/前台展示1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/前台展示1.png -------------------------------------------------------------------------------- /images/前台展示2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/前台展示2.png -------------------------------------------------------------------------------- /images/前台展示3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/前台展示3.png -------------------------------------------------------------------------------- /images/前台展示4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/前台展示4.png -------------------------------------------------------------------------------- /images/后台前端.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/后台前端.png -------------------------------------------------------------------------------- /images/客服微信.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/客服微信.png -------------------------------------------------------------------------------- /images/客服微信2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/客服微信2.png -------------------------------------------------------------------------------- /images/超级AI大脑架构图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/images/超级AI大脑架构图.png -------------------------------------------------------------------------------- /mng_web/public/cdn/element-ui/2.15.6/theme-chalk/fonts/element-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/cdn/element-ui/2.15.6/theme-chalk/fonts/element-icons.ttf -------------------------------------------------------------------------------- /mng_web/public/cdn/element-ui/2.15.6/theme-chalk/fonts/element-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/cdn/element-ui/2.15.6/theme-chalk/fonts/element-icons.woff -------------------------------------------------------------------------------- /mng_web/public/cdn/iconfont/1.0.0/index.css: -------------------------------------------------------------------------------- 1 | 2 | [class^="icon-"]{ 3 | font-family: "iconfont" !important; 4 | /* 以下内容参照第三方图标库本身的规则 */ 5 | font-size: 18px !important; 6 | font-style: normal; 7 | -webkit-font-smoothing: antialiased; 8 | -moz-osx-font-smoothing: grayscale; 9 | } 10 | .el-menu-item [class^=icon-] { 11 | margin-right: 5px; 12 | width: 24px; 13 | text-align: center; 14 | font-size: 18px; 15 | vertical-align: middle; 16 | } 17 | .el-submenu [class^=icon-] { 18 | vertical-align: middle; 19 | margin-right: 5px; 20 | width: 24px; 21 | text-align: center; 22 | font-size: 18px; 23 | } 24 | -------------------------------------------------------------------------------- /mng_web/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/favicon.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/bg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/bg.jpeg -------------------------------------------------------------------------------- /mng_web/public/img/bg/img-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/img-logo.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/login.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/logo.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/star-squashed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/star-squashed.jpg -------------------------------------------------------------------------------- /mng_web/public/img/bg/vip1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/vip1.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/vip2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/vip2.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/vip3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/vip3.png -------------------------------------------------------------------------------- /mng_web/public/img/bg/vip4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/bg/vip4.png -------------------------------------------------------------------------------- /mng_web/public/img/code/qq-code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/code/qq-code.jpg -------------------------------------------------------------------------------- /mng_web/public/img/code/wechat-code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/code/wechat-code.jpg -------------------------------------------------------------------------------- /mng_web/public/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/logo.png -------------------------------------------------------------------------------- /mng_web/public/img/mock/card/card-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/card/card-1.jpg -------------------------------------------------------------------------------- /mng_web/public/img/mock/card/card-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/card/card-2.jpg -------------------------------------------------------------------------------- /mng_web/public/img/mock/card/card-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/card/card-3.jpg -------------------------------------------------------------------------------- /mng_web/public/img/mock/card/card-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/card/card-4.jpg -------------------------------------------------------------------------------- /mng_web/public/img/mock/cli/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/cli/1.png -------------------------------------------------------------------------------- /mng_web/public/img/mock/cli/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/cli/2.png -------------------------------------------------------------------------------- /mng_web/public/img/mock/cli/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/cli/3.png -------------------------------------------------------------------------------- /mng_web/public/img/mock/iconfont.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/img/mock/iconfont.png -------------------------------------------------------------------------------- /mng_web/public/svg/loading-spin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /mng_web/public/util/screen/guge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/util/screen/guge.png -------------------------------------------------------------------------------- /mng_web/public/util/screen/huohu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/public/util/screen/huohu.png -------------------------------------------------------------------------------- /mng_web/public/util/screen/screen.css: -------------------------------------------------------------------------------- 1 | .el-tip { 2 | position: fixed; 3 | left: 50%; 4 | top: 50%; 5 | width: 500px; 6 | padding: 8px 16px; 7 | margin: 0; 8 | margin-left: -250px; 9 | margin-top: -60px; 10 | box-sizing: border-box; 11 | border-radius: 4px; 12 | position: relative; 13 | background-color: #fff; 14 | overflow: hidden; 15 | opacity: 1; 16 | display: flex; 17 | align-items: center; 18 | transition: opacity .2s; 19 | } 20 | 21 | .el-tip--warning { 22 | background-color: #fdf6ec; 23 | color: #e6a23c; 24 | } 25 | 26 | .el-tip__title { 27 | line-height: 18px; 28 | } 29 | .el-tip_img img{ 30 | width: 80px; 31 | height: 80px; 32 | } -------------------------------------------------------------------------------- /mng_web/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 20 | 21 | 31 | -------------------------------------------------------------------------------- /mng_web/src/api/base/region.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/region/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | 15 | export const getLazyTree = (parentCode, params) => { 16 | return request({ 17 | url: '/api/blade-system/region/lazy-tree', 18 | method: 'get', 19 | params: { 20 | ...params, 21 | parentCode 22 | } 23 | }) 24 | } 25 | 26 | export const getDetail = (code) => { 27 | return request({ 28 | url: '/api/blade-system/region/detail', 29 | method: 'get', 30 | params: { 31 | code 32 | } 33 | }) 34 | } 35 | 36 | export const remove = (id) => { 37 | return request({ 38 | url: '/api/blade-system/region/remove', 39 | method: 'post', 40 | params: { 41 | id, 42 | } 43 | }) 44 | } 45 | 46 | export const submit = (row) => { 47 | return request({ 48 | url: '/api/blade-system/region/submit', 49 | method: 'post', 50 | data: row 51 | }) 52 | } 53 | 54 | -------------------------------------------------------------------------------- /mng_web/src/api/desk/notice.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-desk/notice/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | }, 12 | cryptoToken: false, 13 | }) 14 | } 15 | 16 | export const remove = (ids) => { 17 | return request({ 18 | url: '/api/blade-desk/notice/remove', 19 | method: 'post', 20 | params: { 21 | ids, 22 | }, 23 | cryptoToken: false, 24 | }) 25 | } 26 | 27 | export const add = (row) => { 28 | return request({ 29 | url: '/api/blade-desk/notice/submit', 30 | method: 'post', 31 | data: row, 32 | cryptoToken: false, 33 | }) 34 | } 35 | 36 | export const update = (row) => { 37 | return request({ 38 | url: '/api/blade-desk/notice/submit', 39 | method: 'post', 40 | data: row, 41 | cryptoToken: false, 42 | }) 43 | } 44 | 45 | export const getNotice = (id) => { 46 | return request({ 47 | url: '/api/blade-desk/notice/detail', 48 | method: 'get', 49 | params: { 50 | id 51 | }, 52 | cryptoToken: false, 53 | }) 54 | } 55 | 56 | -------------------------------------------------------------------------------- /mng_web/src/api/logs.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getUsualList = (current, size) => { 4 | return request({ 5 | url: '/api/blade-log/usual/list', 6 | method: 'get', 7 | params: { 8 | current, 9 | size 10 | } 11 | }) 12 | } 13 | 14 | export const getApiList = (current, size) => { 15 | return request({ 16 | url: '/api/blade-log/api/list', 17 | method: 'get', 18 | params: { 19 | current, 20 | size 21 | } 22 | }) 23 | } 24 | 25 | export const getErrorList = (current, size) => { 26 | return request({ 27 | url: '/api/blade-log/error/list', 28 | method: 'get', 29 | params: { 30 | current, 31 | size 32 | } 33 | }) 34 | } 35 | 36 | 37 | export const getUsualLogs = (id) => { 38 | return request({ 39 | url: '/api/blade-log/usual/detail', 40 | method: 'get', 41 | params: { 42 | id, 43 | } 44 | }) 45 | } 46 | export const getApiLogs = (id) => { 47 | return request({ 48 | url: '/api/blade-log/api/detail', 49 | method: 'get', 50 | params: { 51 | id, 52 | } 53 | }) 54 | } 55 | export const getErrorLogs = (id) => { 56 | return request({ 57 | url: '/api/blade-log/error/detail', 58 | method: 'get', 59 | params: { 60 | id, 61 | } 62 | }) 63 | } 64 | 65 | -------------------------------------------------------------------------------- /mng_web/src/api/report/report.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-report/report/rest/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | export const remove = (ids) => { 15 | return request({ 16 | url: '/api/blade-report/report/rest/remove', 17 | method: 'post', 18 | params: { 19 | ids, 20 | } 21 | }) 22 | } 23 | -------------------------------------------------------------------------------- /mng_web/src/api/research/code.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | import { apiRequestHead } from '@/config/url.js'; 3 | 4 | //表单开发 获取每个数据详情 5 | export const getDetails = (headId) => { 6 | return request({ 7 | url: `/api/${apiRequestHead}/cgform-api/detail/listByHeadId`, 8 | method: 'get', 9 | params: { 10 | headId, 11 | } 12 | }) 13 | } 14 | -------------------------------------------------------------------------------- /mng_web/src/api/system/client.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/client/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | 15 | export const getDetail = (id) => { 16 | return request({ 17 | url: '/api/blade-system/client/detail', 18 | method: 'get', 19 | params: { 20 | id 21 | } 22 | }) 23 | } 24 | 25 | export const remove = (ids) => { 26 | return request({ 27 | url: '/api/blade-system/client/remove', 28 | method: 'post', 29 | params: { 30 | ids, 31 | } 32 | }) 33 | } 34 | 35 | export const add = (row) => { 36 | return request({ 37 | url: '/api/blade-system/client/submit', 38 | method: 'post', 39 | data: row 40 | }) 41 | } 42 | 43 | export const update = (row) => { 44 | return request({ 45 | url: '/api/blade-system/client/submit', 46 | method: 'post', 47 | data: row 48 | }) 49 | } 50 | 51 | -------------------------------------------------------------------------------- /mng_web/src/api/system/dept.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/dept/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | export const remove = (ids) => { 15 | return request({ 16 | url: '/api/blade-system/dept/remove', 17 | method: 'post', 18 | params: { 19 | ids, 20 | } 21 | }) 22 | } 23 | 24 | export const add = (row) => { 25 | return request({ 26 | url: '/api/blade-system/dept/submit', 27 | method: 'post', 28 | data: row 29 | }) 30 | } 31 | 32 | export const update = (row) => { 33 | return request({ 34 | url: '/api/blade-system/dept/submit', 35 | method: 'post', 36 | data: row 37 | }) 38 | } 39 | 40 | export const getDept = (id) => { 41 | return request({ 42 | url: '/api/blade-system/dept/detail', 43 | method: 'get', 44 | params: { 45 | id, 46 | } 47 | }) 48 | } 49 | export const getDeptTree = (tenantId) => { 50 | return request({ 51 | url: '/api/blade-system/dept/tree', 52 | method: 'get', 53 | params: { 54 | tenantId, 55 | } 56 | }) 57 | } 58 | 59 | -------------------------------------------------------------------------------- /mng_web/src/api/system/dict.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/dict/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | export const remove = (ids) => { 15 | return request({ 16 | url: '/api/blade-system/dict/remove', 17 | method: 'post', 18 | params: { 19 | ids, 20 | } 21 | }) 22 | } 23 | 24 | export const add = (row) => { 25 | return request({ 26 | url: '/api/blade-system/dict/submit', 27 | method: 'post', 28 | data: row 29 | }) 30 | } 31 | 32 | export const update = (row) => { 33 | return request({ 34 | url: '/api/blade-system/dict/submit', 35 | method: 'post', 36 | data: row 37 | }) 38 | } 39 | 40 | 41 | export const getDict = (id) => { 42 | return request({ 43 | url: '/api/blade-system/dict/detail', 44 | method: 'get', 45 | params: { 46 | id, 47 | } 48 | }) 49 | } 50 | export const getDictTree = () => { 51 | return request({ 52 | url: '/api/blade-system/dict/tree?code=DICT', 53 | method: 'get' 54 | }) 55 | } 56 | -------------------------------------------------------------------------------- /mng_web/src/api/system/menu.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/menu/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | export const remove = (ids) => { 15 | return request({ 16 | url: '/api/blade-system/menu/remove', 17 | method: 'post', 18 | params: { 19 | ids, 20 | } 21 | }) 22 | } 23 | 24 | export const add = (row) => { 25 | return request({ 26 | url: '/api/blade-system/menu/submit', 27 | method: 'post', 28 | data: row 29 | }) 30 | } 31 | 32 | export const update = (row) => { 33 | return request({ 34 | url: '/api/blade-system/menu/submit', 35 | method: 'post', 36 | data: row 37 | }) 38 | } 39 | 40 | export const getMenu = (id) => { 41 | return request({ 42 | url: '/api/blade-system/menu/detail', 43 | method: 'get', 44 | params: { 45 | id, 46 | } 47 | }) 48 | } 49 | 50 | export const getLazyMenuList = (parentId, params) => { 51 | return request({ 52 | url: '/api/blade-system/menu/lazy-menu-list', 53 | method: 'get', 54 | params: { 55 | ...params, 56 | parentId 57 | } 58 | }) 59 | } 60 | -------------------------------------------------------------------------------- /mng_web/src/api/system/param.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/param/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | export const remove = (ids) => { 15 | return request({ 16 | url: '/api/blade-system/param/remove', 17 | method: 'post', 18 | params: { 19 | ids, 20 | } 21 | }) 22 | } 23 | 24 | export const add = (row) => { 25 | return request({ 26 | url: '/api/blade-system/param/submit', 27 | method: 'post', 28 | data: row 29 | }) 30 | } 31 | 32 | export const update = (row) => { 33 | return request({ 34 | url: '/api/blade-system/param/submit', 35 | method: 'post', 36 | data: row 37 | }) 38 | } 39 | -------------------------------------------------------------------------------- /mng_web/src/api/system/post.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/post/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | 15 | export const getPostList = (tenantId) => { 16 | return request({ 17 | url: '/api/blade-system/post/select', 18 | method: 'get', 19 | params: { 20 | tenantId 21 | } 22 | }) 23 | } 24 | 25 | export const getDetail = (id) => { 26 | return request({ 27 | url: '/api/blade-system/post/detail', 28 | method: 'get', 29 | params: { 30 | id 31 | } 32 | }) 33 | } 34 | 35 | export const remove = (ids) => { 36 | return request({ 37 | url: '/api/blade-system/post/remove', 38 | method: 'post', 39 | params: { 40 | ids, 41 | } 42 | }) 43 | } 44 | 45 | export const add = (row) => { 46 | return request({ 47 | url: '/api/blade-system/post/submit', 48 | method: 'post', 49 | data: row 50 | }) 51 | } 52 | 53 | export const update = (row) => { 54 | return request({ 55 | url: '/api/blade-system/post/submit', 56 | method: 'post', 57 | data: row 58 | }) 59 | } 60 | 61 | -------------------------------------------------------------------------------- /mng_web/src/api/system/scope.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getListDataScope = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/data-scope/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | 15 | export const removeDataScope = (ids) => { 16 | return request({ 17 | url: '/api/blade-system/data-scope/remove', 18 | method: 'post', 19 | params: { 20 | ids, 21 | } 22 | }) 23 | } 24 | 25 | export const addDataScope = (row) => { 26 | return request({ 27 | url: '/api/blade-system/data-scope/submit', 28 | method: 'post', 29 | data: row 30 | }) 31 | } 32 | 33 | export const updateDataScope = (row) => { 34 | return request({ 35 | url: '/api/blade-system/data-scope/submit', 36 | method: 'post', 37 | data: row 38 | }) 39 | } 40 | 41 | export const getMenuDataScope = (id) => { 42 | return request({ 43 | url: '/api/blade-system/data-scope/detail', 44 | method: 'get', 45 | params: { 46 | id, 47 | } 48 | }) 49 | } 50 | 51 | -------------------------------------------------------------------------------- /mng_web/src/api/system/tenant.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-system/tenant/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | export const remove = (ids) => { 15 | return request({ 16 | url: '/api/blade-system/tenant/remove', 17 | method: 'post', 18 | params: { 19 | ids, 20 | } 21 | }) 22 | } 23 | 24 | export const add = (row) => { 25 | return request({ 26 | url: '/api/blade-system/tenant/submit', 27 | method: 'post', 28 | data: row 29 | }) 30 | } 31 | 32 | export const update = (row) => { 33 | return request({ 34 | url: '/api/blade-system/tenant/submit', 35 | method: 'post', 36 | data: row 37 | }) 38 | } 39 | 40 | export const info = (domain) => { //OK 41 | return request({ 42 | url: '/api/blade-system/tenant/info', 43 | method: 'get', 44 | params: { 45 | domain 46 | } 47 | }) 48 | } 49 | -------------------------------------------------------------------------------- /mng_web/src/api/tool/datasource.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | export const getList = (current, size, params) => { 4 | return request({ 5 | url: '/api/blade-develop/datasource/list', 6 | method: 'get', 7 | params: { 8 | ...params, 9 | current, 10 | size, 11 | } 12 | }) 13 | } 14 | 15 | export const getDetail = (id) => { 16 | return request({ 17 | url: '/api/blade-develop/datasource/detail', 18 | method: 'get', 19 | params: { 20 | id 21 | } 22 | }) 23 | } 24 | 25 | export const remove = (ids) => { 26 | return request({ 27 | url: '/api/blade-develop/datasource/remove', 28 | method: 'post', 29 | params: { 30 | ids, 31 | } 32 | }) 33 | } 34 | 35 | export const add = (row) => { 36 | return request({ 37 | url: '/api/blade-develop/datasource/submit', 38 | method: 'post', 39 | data: row 40 | }) 41 | } 42 | 43 | export const update = (row) => { 44 | return request({ 45 | url: '/api/blade-develop/datasource/submit', 46 | method: 'post', 47 | data: row 48 | }) 49 | } 50 | 51 | -------------------------------------------------------------------------------- /mng_web/src/api/work/process.js: -------------------------------------------------------------------------------- 1 | import request from '@/router/axios'; 2 | 3 | // =====================参数=========================== 4 | 5 | export const historyFlowList = (processInstanceId) => { 6 | return request({ 7 | url: '/api/blade-flow/process/history-flow-list', 8 | method: 'get', 9 | params: { 10 | processInstanceId 11 | } 12 | }) 13 | } 14 | 15 | 16 | // =====================请假流程=========================== 17 | 18 | export const leaveProcess = (data) => { 19 | return request({ 20 | url: '/api/blade-desk/process/leave/start-process', 21 | method: 'post', 22 | data 23 | }) 24 | } 25 | 26 | export const leaveDetail = (businessId) => { 27 | return request({ 28 | url: '/api/blade-desk/process/leave/detail', 29 | method: 'get', 30 | params: { 31 | businessId 32 | } 33 | }) 34 | } 35 | -------------------------------------------------------------------------------- /mng_web/src/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/src/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /mng_web/src/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/src/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /mng_web/src/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/src/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /mng_web/src/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/src/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /mng_web/src/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/274056675/springcloud-openai-chatgpt/e10572d6621d763c59b3a422c2951b7ccf92cc23/mng_web/src/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /mng_web/src/components/basic-container/main.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 14 | 15 | 28 | -------------------------------------------------------------------------------- /mng_web/src/components/error-page/403.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 22 | 25 | -------------------------------------------------------------------------------- /mng_web/src/components/error-page/404.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 22 | 25 | -------------------------------------------------------------------------------- /mng_web/src/components/error-page/500.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 22 | 25 | -------------------------------------------------------------------------------- /mng_web/src/components/error-page/style.scss: -------------------------------------------------------------------------------- 1 | .error-page { 2 | background: #f0f2f5; 3 | margin-top: -30px; 4 | height: 100%; 5 | display: flex; 6 | align-items: center; 7 | justify-content: center; 8 | .img { 9 | margin-right: 80px; 10 | height: 360px; 11 | width: 100%; 12 | max-width: 430px; 13 | background-repeat: no-repeat; 14 | background-position: 50% 50%; 15 | background-size: contain; 16 | } 17 | .content { 18 | h1 { 19 | color: #434e59; 20 | font-size: 72px; 21 | font-weight: 600; 22 | line-height: 72px; 23 | margin-bottom: 24px; 24 | } 25 | .desc { 26 | color: rgba(0, 0, 0, 0.45); 27 | font-size: 20px; 28 | line-height: 28px; 29 | margin-bottom: 16px; 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /mng_web/src/config/env.js: -------------------------------------------------------------------------------- 1 | // 配置编译环境和线上环境之间的切换 2 | 3 | let baseUrl = ''; 4 | let iconfontVersion = ['567566_pwc3oottzol', '1066523_6bvkeuqao36']; 5 | let iconfontUrl = `//at.alicdn.com/t/font_$key.css`; 6 | let codeUrl = `${baseUrl}/code` 7 | const env = process.env 8 | if (env.NODE_ENV == 'development') { 9 | baseUrl = ``; // 开发环境地址 10 | } else if (env.NODE_ENV == 'production') { 11 | baseUrl = ``; //生产环境地址 12 | } else if (env.NODE_ENV == 'test') { 13 | baseUrl = ``; //测试环境地址 14 | } 15 | export { 16 | baseUrl, 17 | iconfontUrl, 18 | iconfontVersion, 19 | codeUrl, 20 | env 21 | } 22 | -------------------------------------------------------------------------------- /mng_web/src/config/url.js: -------------------------------------------------------------------------------- 1 | // export const apiRequestHead = 'mjkj-bladex' //公共后端请求头 2 | export const apiRequestHead = 'mjkj-chat' //公共后端请求头 3 | // export const apiRequestHead = 'mjkj-bladex-zt' //公共后端请求头 4 | export const fileApiRequestHead = "mjkj-chat" 5 | //网站地址 用于第三方登录失败后重新访问登录页面 6 | export const originUrl = 'https://www.zhckxt.com' 7 | //文件预览html访问路径 8 | export const fileViewUrl = 'http://file.view.mj.ink/view.html' 9 | //报表访问基础路径 10 | export const statementBaseUrl = 'http://ureport.zhckxt.com/ureport/preview' 11 | //大屏访问基础路径 12 | export const dataViewUrl = 'http://localhost:8848/view' 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /mng_web/src/config/website.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 全局配置文件 3 | */ 4 | export default { 5 | title: window.chatgpt_title, 6 | indexTitle: window.chatgpt_title, 7 | clientId: 'open-cjaidn', // 客户端id 8 | clientSecret: 'open-cjaidn_secret', // 客户端密钥 9 | tenantMode: true, // 是否开启租户模式 10 | captchaMode: true, // 是否开启验证码模式 11 | logo: "S", 12 | key: 'open-cjaidn',//配置主键,目前用于存储 13 | lockPage: '/lock', 14 | tokenTime: 100, 15 | //http的status默认放行不才用统一处理的, 16 | statusWhiteList: [], 17 | //配置首页不可关闭 18 | isFirstPage: false, 19 | fistPage: { 20 | label: "首页", 21 | value: "/wel/index", 22 | params: {}, 23 | query: {}, 24 | meta: { 25 | i18n: 'dashboard' 26 | }, 27 | group: [], 28 | close: false 29 | }, 30 | //配置菜单的属性 31 | menu: { 32 | iconDefault: 'iconfont icon-caidan', 33 | props: { 34 | label: 'name', 35 | path: 'path', 36 | icon: 'source', 37 | children: 'children' 38 | } 39 | }, 40 | // 授权地址 41 | authUrl: 'http://localhost/blade-auth/oauth/render', 42 | // 报表设计器地址(cloud端口为8108,boot端口为80) 43 | reportUrl: 'http://localhost:8108/ureport', 44 | } 45 | -------------------------------------------------------------------------------- /mng_web/src/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nginx 2 | VOLUME /tmp 3 | ENV LANG en_US.UTF-8 4 | ADD ./dist/ /usr/share/nginx/html/ 5 | EXPOSE 80 6 | EXPOSE 443 -------------------------------------------------------------------------------- /mng_web/src/error.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import store from './store' 3 | Vue.config.errorHandler = function(err, vm, info) { 4 | 5 | Vue.nextTick(() => { 6 | store.commit('ADD_LOGS', { 7 | type: 'error', 8 | message: err.message, 9 | stack: err.stack, 10 | info 11 | }) 12 | if (process.env.NODE_ENV === 'development') { 13 | console.group('>>>>>> 错误信息 >>>>>>') 14 | 15 | console.groupEnd(); 16 | console.group('>>>>>> Vue 实例 >>>>>>') 17 | 18 | console.groupEnd(); 19 | console.group('>>>>>> Error >>>>>>') 20 | 21 | console.groupEnd(); 22 | } 23 | }) 24 | } -------------------------------------------------------------------------------- /mng_web/src/lang/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import VueI18n from 'vue-i18n' 3 | import elementEnLocale from 'element-ui/lib/locale/lang/en' // element-ui lang 4 | import elementZhLocale from 'element-ui/lib/locale/lang/zh-CN'// element-ui lang 5 | import enLocale from './en' 6 | import zhLocale from './zh' 7 | import { getStore } from '@/util/store' 8 | Vue.use(VueI18n) 9 | const Avue = window.AVUE; 10 | const messages = { 11 | en: { 12 | ...enLocale, 13 | ...elementEnLocale, 14 | ...Avue.locale.en, 15 | }, 16 | zh: { 17 | ...zhLocale, 18 | ...elementZhLocale, 19 | ...Avue.locale.zh, 20 | } 21 | } 22 | 23 | const i18n = new VueI18n({ 24 | locale: getStore({ name: 'language' }) || 'zh', 25 | messages 26 | }) 27 | 28 | export default i18n -------------------------------------------------------------------------------- /mng_web/src/mock/index.js: -------------------------------------------------------------------------------- 1 | import user from './user'; 2 | import menu from './menu'; 3 | 4 | /** 5 | * 模拟数据mock 6 | * 7 | * mock是否开启模拟数据拦截 8 | */ 9 | 10 | user({mock: true}); 11 | 12 | menu({mock: true}); 13 | -------------------------------------------------------------------------------- /mng_web/src/mock/menu.js: -------------------------------------------------------------------------------- 1 | import Mock from 'mockjs' 2 | 3 | const top = [{ 4 | label: "首页", 5 | path: "/wel/index", 6 | icon: 'el-icon-menu', 7 | meta: { 8 | i18n: 'dashboard', 9 | }, 10 | parentId: 0 11 | }, 12 | { 13 | label: "测试", 14 | icon: 'el-icon-document', 15 | path: "/test/index", 16 | meta: { 17 | i18n: 'test', 18 | }, 19 | parentId: 3 20 | }] 21 | export default ({mock}) => { 22 | if (!mock) return; 23 | Mock.mock('/user/getTopMenu', 'get', () => { 24 | return { 25 | data: top 26 | } 27 | }) 28 | 29 | } 30 | -------------------------------------------------------------------------------- /mng_web/src/page/index/layout.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mng_web/src/page/index/sidebar/config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | propsDefault: { 3 | label: 'label', 4 | path: 'path', 5 | icon: 'icon', 6 | children: 'children' 7 | } 8 | } -------------------------------------------------------------------------------- /mng_web/src/page/index/top/top-color.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 21 | 22 | 31 | -------------------------------------------------------------------------------- /mng_web/src/page/index/top/top-logs.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 41 | 42 | 44 | -------------------------------------------------------------------------------- /mng_web/src/page/login/authredirect.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 17 | 18 | 19 | 21 | -------------------------------------------------------------------------------- /mng_web/src/research/config/index.js: -------------------------------------------------------------------------------- 1 | //存储tabs页面数据表id 2 | export const tabsTableId = "1514806825113739266" 3 | //存储form页面数据表id 4 | export const formTableId = "1514808209976451074" 5 | 6 | -------------------------------------------------------------------------------- /mng_web/src/research/router/index.js: -------------------------------------------------------------------------------- 1 | import Layout from '@/page/index/' 2 | 3 | export default [ 4 | { 5 | path: '/tool/codetestlist', 6 | component: Layout, 7 | children: [{ 8 | path: ":id", 9 | name: 'AUTO在线表单', 10 | component: () => 11 | import( /* webpackChunkName: "views" */ '@/research/views/tool/codetestlist.vue'), 12 | props: true 13 | }] 14 | }, 15 | { 16 | path: '/tool/codetesttabs', 17 | component: Layout, 18 | children: [{ 19 | path: ":code", 20 | name: 'AUTO在线表单tabs', 21 | component: () => 22 | import( /* webpackChunkName: "views" */ '@/research/views/tool/codetesttabs.vue'), 23 | props: true 24 | }] 25 | } 26 | ] -------------------------------------------------------------------------------- /mng_web/src/research/store/getters.js: -------------------------------------------------------------------------------- 1 | const researchGetters = { 2 | provinces: state => state.research.provinces, 3 | remoteValues: state => state.research.remoteValues, 4 | allOptinsAcc: state => state.research.allOptinsAcc, 5 | allDicListData: state => state.research.allDicListData, 6 | wxBindCode: state => state.user.wxBindCode, 7 | tenantId: state => state.user.tenantId, 8 | tenantName: state => state.user.tenantName, 9 | } 10 | export default researchGetters -------------------------------------------------------------------------------- /mng_web/src/research/store/research.js: -------------------------------------------------------------------------------- 1 | const research = { 2 | state: { 3 | // 基础 4 | provinces: {}, //省市区数据 5 | // 表单 6 | remoteValues: [], //远程取值是否完成 7 | allOptinsAcc: [],//所有的配置是否处理完成 8 | allDicListData: [],//所有字典列表 9 | 10 | }, 11 | mutations: { 12 | SET_PROVINCES: (state, provinces) => { 13 | state.provinces = provinces; 14 | }, 15 | SET_REMOTE_VAKUES: (state, data) => { 16 | if (data.type == 'del') { 17 | state.remoteValues = [] 18 | } else { 19 | state.remoteValues.push(data.bool); 20 | } 21 | }, 22 | SET_ALL_OPTINS_ACC: (state, data) => { 23 | if (data.type == 'del') { 24 | state.allOptinsAcc = [] 25 | } else { 26 | state.allOptinsAcc.push(data.bool); 27 | } 28 | }, 29 | SET_ALL_DIC_LIST_DATA: (state, data) => { 30 | state.allDicListData = data 31 | }, 32 | }, 33 | actions: {}, 34 | } 35 | export default research -------------------------------------------------------------------------------- /mng_web/src/research/views/tool/codeview.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /mng_web/src/router/router.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 全站路由配置 3 | * 4 | * meta参数说明 5 | * keepAlive是否缓冲页面 6 | * isTab是否加入到tag导航 7 | * isAuth是否需要授权 8 | */ 9 | import VueRouter from 'vue-router'; 10 | import PageRouter from './page/' 11 | import ViewsRouter from './views/' 12 | import AvueRouter from './avue-router'; 13 | import Vue from 'vue'; 14 | import i18n from '@/lang' // Internationalization 15 | import Store from '../store/'; 16 | let Router = new VueRouter({ 17 | scrollBehavior(to, from, savedPosition) { 18 | if (savedPosition) { 19 | return savedPosition 20 | } else { 21 | if (from.meta.keepAlive) { 22 | from.meta.savedPosition = document.body.scrollTop; 23 | } 24 | return { 25 | x: 0, 26 | y: to.meta.savedPosition || 0 27 | } 28 | } 29 | }, 30 | routes: [] 31 | }); 32 | AvueRouter.install(Vue, Router, Store, i18n); 33 | Router.$avueRouter.formatRoutes(Store.state.user.menu, true); 34 | Router.addRoutes([...PageRouter, ...ViewsRouter]); 35 | export default Router; -------------------------------------------------------------------------------- /mng_web/src/store/getters.js: -------------------------------------------------------------------------------- 1 | const getters = { 2 | tag: state => state.tags.tag, 3 | language: state => state.common.language, 4 | website: state => state.common.website, 5 | userInfo: state => state.user.userInfo, 6 | colorName: state => state.common.colorName, 7 | themeName: state => state.common.themeName, 8 | isShade: state => state.common.isShade, 9 | isCollapse: state => state.common.isCollapse, 10 | keyCollapse: (state, getters) => getters.screen > 1 ? getters.isCollapse : false, 11 | screen: state => state.common.screen, 12 | isLock: state => state.common.isLock, 13 | isFullScren: state => state.common.isFullScren, 14 | isMenu: state => state.common.isMenu, 15 | lockPasswd: state => state.common.lockPasswd, 16 | tagList: state => state.tags.tagList, 17 | tagWel: state => state.tags.tagWel, 18 | token: state => state.user.token, 19 | roles: state => state.user.roles, 20 | permission: state => state.user.permission, 21 | menu: state => state.user.menu, 22 | menuAll: state => state.user.menuAll, 23 | logsList: state => state.logs.logsList, 24 | logsLen: state => state.logs.logsList.length || 0, 25 | logsFlag: (state, getters) => getters.logsLen === 0 26 | } 27 | export default getters 28 | -------------------------------------------------------------------------------- /mng_web/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | import user from './modules/user' 4 | import common from './modules/common' 5 | import tags from './modules/tags' 6 | import logs from './modules/logs' 7 | import getters from './getters' 8 | import research from '../research/store/research'; 9 | import researchGetters from '../research/store/getters'; 10 | Vue.use(Vuex) 11 | const store = new Vuex.Store({ 12 | modules: { 13 | user, 14 | common, 15 | logs, 16 | tags, 17 | research, 18 | }, 19 | getters: { 20 | ...getters, 21 | ...researchGetters, 22 | }, 23 | }) 24 | 25 | export default store -------------------------------------------------------------------------------- /mng_web/src/store/modules/dict.js: -------------------------------------------------------------------------------- 1 | import {getStore, setStore} from '@/util/store' 2 | 3 | import {getDictionary} from '@/api/system/dict' 4 | 5 | const dict = { 6 | state: { 7 | flowRoutes: getStore({name: 'flowRoutes'}) || {}, 8 | }, 9 | actions: { 10 | FlowRoutes({commit}) { 11 | return new Promise((resolve, reject) => { 12 | getDictionary({code: 'flow'}).then(res => { 13 | commit('SET_FLOW_ROUTES', res.data.data); 14 | resolve(); 15 | }).catch(error => { 16 | reject(error) 17 | }) 18 | }) 19 | }, 20 | }, 21 | mutations: { 22 | SET_FLOW_ROUTES: (state, data) => { 23 | state.flowRoutes = data.map(item => { 24 | return { 25 | routeKey: `${item.code}_${item.dictKey}`, 26 | routeValue: item.remark, 27 | }; 28 | }); 29 | setStore({name: 'flowRoutes', content: state.flowRoutes}) 30 | }, 31 | } 32 | 33 | }; 34 | 35 | export default dict; 36 | -------------------------------------------------------------------------------- /mng_web/src/styles/common.scss: -------------------------------------------------------------------------------- 1 | // 全局变量 2 | @import './variables.scss'; 3 | // ele样式覆盖 4 | @import './element-ui.scss'; 5 | // 顶部右侧显示 6 | @import './top.scss'; 7 | // 导航标签 8 | @import './tags.scss'; 9 | // 工具类函数 10 | @import './mixin.scss'; 11 | // 侧面导航栏 12 | @import './sidebar.scss'; 13 | // 动画 14 | @import './animate/vue-transition.scss'; 15 | //主题 16 | @import './theme/index.scss'; 17 | //适配 18 | @import './media.scss'; 19 | //通用配置 20 | @import './normalize.scss'; 21 | 22 | a{ 23 | text-decoration: none; 24 | color:#333; 25 | } 26 | *{ 27 | outline: none; 28 | } -------------------------------------------------------------------------------- /mng_web/src/styles/theme/hey.scss: -------------------------------------------------------------------------------- 1 | .theme-hey{ 2 | .avue-sidebar{ 3 | background-color: #fff; 4 | box-shadow: 0 1px 4px rgba(0,21,41,.08); 5 | .el-menu-item,.el-submenu__title{ 6 | i,span{ 7 | color: rgba(49,58,70,.8); 8 | } 9 | &:hover{ 10 | background: transparent; 11 | i,span{ 12 | color:#409eff; 13 | } 14 | } 15 | &.is-active { 16 | &:before { 17 | left:auto; 18 | right: 0 ; 19 | } 20 | background-color: #f0f6ff; 21 | i,span{ 22 | color:#409eff; 23 | } 24 | } 25 | } 26 | } 27 | .avue-logo{ 28 | background-color: #fff; 29 | box-shadow: none; 30 | .avue-logo_title{ 31 | color:#409eff; 32 | font-size: 24px; 33 | } 34 | } 35 | .avue-tags{ 36 | background: #f3f6f8; 37 | .el-tabs__item{ 38 | color: rgba(0,0,0,.65) !important; 39 | } 40 | .is-active{ 41 | background-color: #fff; 42 | border-bottom: none !important; 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /mng_web/src/styles/theme/index.scss: -------------------------------------------------------------------------------- 1 | // 白色主题 2 | @import './white.scss'; 3 | 4 | // 炫酷主题 5 | @import './star.scss'; 6 | 7 | 8 | // d2主题 9 | @import './d2.scss'; 10 | 11 | //iview 12 | @import './iview.scss'; 13 | 14 | //heyui 15 | @import './hey.scss'; 16 | -------------------------------------------------------------------------------- /mng_web/src/styles/variables.scss: -------------------------------------------------------------------------------- 1 | //main 2 | $mainBg: #409eff; 3 | -------------------------------------------------------------------------------- /mng_web/src/util/admin.js: -------------------------------------------------------------------------------- 1 | export default { 2 | getScreen: function () { 3 | var width = document.body.clientWidth; 4 | if (width >= 1200) { 5 | return 3; //大屏幕 6 | } else if (width >= 992) { 7 | return 2; //中屏幕 8 | } else if (width >= 768) { 9 | return 1; //小屏幕 10 | } else { 11 | return 0; //超小屏幕 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /mng_web/src/util/auth.js: -------------------------------------------------------------------------------- 1 | import Cookies from 'js-cookie' 2 | const TokenKey = 'open-cjaidn-access-token' 3 | const RefreshTokenKey = 'open-cjaidn-refresh-token' 4 | export function getToken() { 5 | return Cookies.get(TokenKey) 6 | } 7 | 8 | export function setToken(token) { 9 | return Cookies.set(TokenKey, token) 10 | } 11 | 12 | export function getRefreshToken() { 13 | return Cookies.get(RefreshTokenKey) 14 | } 15 | 16 | export function setRefreshToken(token) { 17 | return Cookies.set(RefreshTokenKey, token) 18 | } 19 | 20 | export function removeToken() { 21 | return Cookies.remove(TokenKey) 22 | } 23 | 24 | export function removeRefreshToken() { 25 | return Cookies.remove(RefreshTokenKey) 26 | } 27 | 28 | -------------------------------------------------------------------------------- /mng_web/src/views/util/logs.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 20 | -------------------------------------------------------------------------------- /mng_web/src/views/util/tags.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 25 | 26 | 28 | -------------------------------------------------------------------------------- /mng_web/src/views/util/test.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 19 | 20 | 22 | -------------------------------------------------------------------------------- /项目介绍.txt: -------------------------------------------------------------------------------- 1 | chatgpt_http 用来转发发送chatgpt发送请求,一般运行在美国服务器上作为一个中转 2 | chatgpt_uniapp 超级AI大脑PC项目 3 | mng 后台服务 4 | mng_web 后台服务的界面 5 | 6 | 本项目用到第三方技术: 7 | 1. 阿里云短信 发送验证码 8 | 2. chatgpt gpt-3.5-turbo --------------------------------------------------------------------------------