commit init code

This commit is contained in:
jiangjianfeng 2022-07-14 17:55:15 +08:00
parent 8b4864eb77
commit 240e7a2e99
68 changed files with 187 additions and 80 deletions

View file

@ -59,7 +59,7 @@ env:
BUILD_BASE_PATH: /
BUILD_WEBSOCKET_HOST: ws://192.168.16.173:8120
BUILD_CLIENT_ID: ebc-front-uat
BUILD_API_HOST: http://hzeronb.saas.hand-china.com # http://192.168.12.101:8080/
BUILD_API_HOST: http://192.168.12.101:8080/
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
BUILD_PLATFORM_VERSION: SAAS
BUILD_MULTIPLE_SKIN_ENABLE: false

View file

@ -126,7 +126,7 @@ const actions = {
dateTimeFormat: 'YYYY-MM-DD HH:mm:ss',
changePasswordFlag: 0,
title: 'HZERO技术平台',
logo: 'https://file.open.hand-china.com/hsop-image/doc_classify/0/8ff6ad27c153445d90606db2eca4c268/logo.png',
logo: '/hsop-image/doc_classify/0/8ff6ad27c153445d90606db2eca4c268/logo.png',
menuLayout: 'side-all',
menuLayoutTheme: 'color',
roleMergeFlag: 0,
@ -136,7 +136,7 @@ const actions = {
currentRoleName: '管理员1',
currentRoleLevel: 'site',
favicon:
'https://file.open.hand-china.com/hsop-image/doc_classify/0/8ff6ad27c153445d90606db2eca4c268/logo.png',
'/hsop-image/doc_classify/0/8ff6ad27c153445d90606db2eca4c268/logo.png',
dataHierarchyFlag: 0,
recentAccessTenantList: [],
};

BIN
image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View file

@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* Skyer平台服务启动类 主要包含平台通用功能
*
*
* @author
*/
@EnableSkyerChannel
@EnableDiscoveryClient

View file

@ -13,7 +13,7 @@ import org.skyer.swagger.swagger.extra.ExtraDataManager;
/**
* 服务基本信息
*
*
* @author
*/
@SkyerExtraData
public class ChannelExtraDataManager implements ExtraDataManager {

View file

@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* 数据源类型
*
*
* @author
*/
@Inherited
@Target({ElementType.TYPE})

View file

@ -4,14 +4,14 @@ package org.skyer.channel.infra.constant;
/**
* 公司常量类
*
*
* @author
*/
public class CompanyConstants {
/**
* 企业审批后续处理类型
*
*
* @author
*/
public static class CompanyApprovalProcessType {
/**
@ -31,7 +31,7 @@ public class CompanyConstants {
/**
* 企业审批后续处理状态
*
*
* @author
*/
public static class CompanyApprovalProcessStatus {
/**

View file

@ -5,7 +5,7 @@ import org.skyer.common.SkyerService;
/**
* 平台常量
*
*
* @author
*/
public interface Constants {
@ -51,7 +51,7 @@ public interface Constants {
/**
* kafka topic常量
*
*
* @author
*/
interface KafkaTopics {
/**
@ -71,7 +71,7 @@ public interface Constants {
/**
* 编码规则代码
*
*
* @author
*/
interface RuleCodes {
/**

View file

@ -3,7 +3,7 @@ package org.skyer.channel.infra.constant;
/**
* 基础模块常量
*
*
* @author
*/
public interface FndConstants {
@ -308,7 +308,7 @@ public interface FndConstants {
/**
* 数据来源
*
*
* @author
*/
interface DataSource {
String SKYER = "SKYER";

View file

@ -3,7 +3,7 @@ package org.skyer.channel.infra.constant;
/**
* 维护返回异常信息
*
*
* @author
*/
public class HpfmMsgCodeConstants {

View file

@ -21,7 +21,7 @@ public class HrConstants {
/**
* 维度类型
*
*
* @author
*/
public static class DimensionType {
/**

View file

@ -8,7 +8,7 @@ import org.skyer.core.convert.CommonConverter;
/**
* 通用对象转换工具
*
*
* @author
*/
public class CommonConvertor<T, V> {
/**

View file

@ -4,7 +4,7 @@ package org.skyer.channel.infra.enums;
*
* 连接池类型
*
*
* @author
*/
public enum DBPoolTypeEnum {
/**

View file

@ -6,7 +6,7 @@ import org.skyer.channel.infra.constant.Constants;
*
* 数据库类型
*
*
* @author
*/
public enum DatabaseTypeEnum {
/**

View file

@ -21,7 +21,7 @@ import org.skyer.core.exception.CommonException;
/**
* description
*
*
* @author
*/
@Component
public class MessageHandler extends SocketMessageHandler {

View file

@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* HPFM Properties
*
*
* @author
*/
@ConfigurationProperties(prefix = ChannelProperties.PREFIX)
public class ChannelProperties {

View file

@ -20,7 +20,7 @@ import org.skyer.core.util.ResponseUtils;
/**
* Json工具类
*
*
* @author
* @see ResponseUtils
*/
public class JsonUtils {

View file

@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* Skyer平台服务启动类 主要包含平台通用功能
*
*
* @author
*/
@EnableSkyerGoods
@EnableDiscoveryClient

View file

@ -13,7 +13,7 @@ import org.skyer.swagger.swagger.extra.ExtraDataManager;
/**
* 服务基本信息
*
*
* @author
*/
@SkyerExtraData
public class GoodsExtraDataManager implements ExtraDataManager {

View file

@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* 数据源类型
*
*
* @author
*/
@Inherited
@Target({ElementType.TYPE})

View file

@ -4,14 +4,14 @@ package org.skyer.goods.infra.constant;
/**
* 公司常量类
*
*
* @author
*/
public class CompanyConstants {
/**
* 企业审批后续处理类型
*
*
* @author
*/
public static class CompanyApprovalProcessType {
/**
@ -31,7 +31,7 @@ public class CompanyConstants {
/**
* 企业审批后续处理状态
*
*
* @author
*/
public static class CompanyApprovalProcessStatus {
/**

View file

@ -5,7 +5,7 @@ import org.skyer.common.SkyerService;
/**
* 平台常量
*
*
* @author
*/
public interface Constants {
/**
@ -50,7 +50,7 @@ public interface Constants {
/**
* kafka topic常量
*
*
* @author
*/
interface KafkaTopics {
/**
@ -70,7 +70,7 @@ public interface Constants {
/**
* 编码规则代码
*
*
* @author
*/
interface RuleCodes {
/**

View file

@ -3,7 +3,7 @@ package org.skyer.goods.infra.constant;
/**
* 基础模块常量
*
*
* @author
*/
public interface FndConstants {
@ -308,7 +308,7 @@ public interface FndConstants {
/**
* 数据来源
*
*
* @author
*/
interface DataSource {
String SKYER = "SKYER";

View file

@ -3,7 +3,7 @@ package org.skyer.goods.infra.constant;
/**
* 维护返回异常信息
*
*
* @author
*/
public class HpfmMsgCodeConstants {

View file

@ -21,7 +21,7 @@ public class HrConstants {
/**
* 维度类型
*
*
* @author
*/
public static class DimensionType {
/**

View file

@ -8,7 +8,7 @@ import org.skyer.core.convert.CommonConverter;
/**
* 通用对象转换工具
*
*
* @author
*/
public class CommonConvertor<T, V> {
/**

View file

@ -4,7 +4,7 @@ package org.skyer.goods.infra.enums;
*
* 连接池类型
*
*
* @author
*/
public enum DBPoolTypeEnum {
/**

View file

@ -6,7 +6,7 @@ import org.skyer.goods.infra.constant.Constants;
*
* 数据库类型
*
*
* @author
*/
public enum DatabaseTypeEnum {
/**

View file

@ -12,7 +12,7 @@ import java.util.List;
/**
* 用户信息远程 Feign 调用
*
*
* @author
*/
@FeignClient(value = SkyerService.Oauth.NAME, fallback = UserDetailRemoteServiceImpl.class, path = "/oauth/api/user")
public interface UserDetailRemoteService {

View file

@ -10,7 +10,7 @@ import java.util.List;
/**
* 用户信息远程调用失败回调
*
*
* @author
*/
@Component
public class UserDetailRemoteServiceImpl implements UserDetailRemoteService {

View file

@ -21,7 +21,7 @@ import org.skyer.core.exception.CommonException;
/**
* description
*
*
* @author
*/
@Component
public class MessageHandler extends SocketMessageHandler {

View file

@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* HPFM Properties
*
*
* @author
*/
@ConfigurationProperties(prefix = GoodsProperties.PREFIX)
public class GoodsProperties {

View file

@ -20,7 +20,7 @@ import org.skyer.core.util.ResponseUtils;
/**
* Json工具类
*
*
* @author
* @see ResponseUtils
*/
public class JsonUtils {

View file

@ -11,7 +11,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* Skyer平台服务启动类 主要包含平台通用功能
*
*
* @author
*/
@SpringBootApplication
@EnableZeebeClient

View file

@ -11,7 +11,7 @@ import org.springframework.core.env.Environment;
/**
* 服务基本信息
*
*
* @author
*/
@SkyerExtraData
public class OrderExtraDataManager implements ExtraDataManager {

View file

@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* 数据源类型
*
*
* @author
*/
@Inherited
@Target({ElementType.TYPE})

View file

@ -49,7 +49,7 @@ public interface Constants {
/**
* kafka topic常量
*
*
* @author
*/
interface KafkaTopics {
/**
@ -69,7 +69,7 @@ public interface Constants {
/**
* 编码规则代码
*
*
* @author
*/
interface RuleCodes {
/**

View file

@ -8,7 +8,7 @@ import java.util.Map;
/**
* 通用对象转换工具
*
*
* @author
*/
public class CommonConvertor<T, V> {
/**

View file

@ -3,7 +3,7 @@ package org.skyer.order.infra.enums;
/**
* 连接池类型
*
*
* @author
*/
public enum DBPoolTypeEnum {
/**

View file

@ -12,7 +12,7 @@ import java.util.List;
/**
* 用户信息远程 Feign 调用
*
*
* @author
*/
@FeignClient(value = SkyerService.Oauth.NAME, fallback = UserDetailRemoteServiceImpl.class, path = "/oauth/api/user")
public interface UserDetailRemoteService {

View file

@ -10,7 +10,7 @@ import java.util.List;
/**
* 用户信息远程调用失败回调
*
*
* @author
*/
@Component
public class UserDetailRemoteServiceImpl implements UserDetailRemoteService {

View file

@ -7,7 +7,7 @@ import java.util.List;
/**
* HPFM Properties
*
*
* @author
*/
@ConfigurationProperties(prefix = OrderProperties.PREFIX)
public class OrderProperties {

View file

@ -18,7 +18,7 @@ import java.util.List;
/**
* Json工具类
*
*
* @author
* @see ResponseUtils
*/
public class JsonUtils {

View file

@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* Skyer平台服务启动类 主要包含平台通用功能
*
*
* @author
*/
@EnableSkyerStock
@EnableDiscoveryClient

View file

@ -13,7 +13,7 @@ import org.skyer.swagger.swagger.extra.ExtraDataManager;
/**
* 服务基本信息
*
*
* @author
*/
@SkyerExtraData
public class StockExtraDataManager implements ExtraDataManager {

View file

@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* 数据源类型
*
*
* @author
*/
@Inherited
@Target({ElementType.TYPE})

View file

@ -8,7 +8,7 @@ import org.skyer.core.convert.CommonConverter;
/**
* 通用对象转换工具
*
*
* @author
*/
public class CommonConvertor<T, V> {
/**

View file

@ -12,7 +12,7 @@ import java.util.List;
/**
* 用户信息远程 Feign 调用
*
*
* @author
*/
@FeignClient(value = SkyerService.Oauth.NAME, fallback = UserDetailRemoteServiceImpl.class, path = "/oauth/api/user")
public interface UserDetailRemoteService {

View file

@ -10,7 +10,7 @@ import java.util.List;
/**
* 用户信息远程调用失败回调
*
*
* @author
*/
@Component
public class UserDetailRemoteServiceImpl implements UserDetailRemoteService {

View file

@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* HPFM Properties
*
*
* @author
*/
@ConfigurationProperties(prefix = StockProperties.PREFIX)
public class StockProperties {

104
skyer-tags/.gitignore vendored Normal file
View file

@ -0,0 +1,104 @@
#======================================================================================================================
#========================================= gitignore的基础用法 =========================================
#======================================================================================================================
# 一.基础语法
# .gitignore配置文件的一些通用技巧 [参考:https://git-scm.com/docs/gitignore]
# 1.空白行不匹配任何文件,所以可以作为可读性的分隔符,同时两端的空格将会被忽略.
# 2.使用[#]开头,将会注释掉整行,使其不进行匹配操作,如果需要匹配#开头,可以使用转义字符[\].
# 3.1匹配模式以[/]结尾,表示想要匹配一个目录及其子文件.(比如[foo/]会匹配foo目录及其下面的路径.)
# 3.2匹配模式不包含[/],将会全局匹配该文件.
# 4.通配符
# [*]: 匹配除[/]以外的任何内容,也就意味着[*]不能跨目录.
# [?]: 匹配除[/]和[[]以及[]]以外的任何一个字符.
# [**]: 匹配所有的内容,或者说匹配任意目录下的内容.
# 示例:
# 1.[**/foo/bar] 将会匹配所有直接在foo目录下的bar,无论foo处在何处.
# 2.[foo/**]则表示匹配foo目录下的所有文件和目录.
# 3.[a/**/b]则可以匹配a/b, a/c/b, a/c/d/b,即此处的[**]可以表示0个或多个.
# !!! 需要注意的是,除上面示例的用法外,剩余的[**]都是无效的..
# 5.可以通过前缀[!]来表示不忽略某些文件,比如可以通过[!a]来确保文件a不会被忽略,即时前面已经声明了忽略其父目录,该模式优先级高于普通忽略模式.
# 二.常用命令
# 1.git -rm [https://git-scm.com/docs/git-rm]
# 删除文件索引,或者同时删除文件索引和物理文件.可以使用通配符.
# 2.git-check-ignore [https://git-scm.com/docs/git-check-ignore]
# 调试.gitignore文件
# 三.注意事项
# 1.如果文件已经被git管理,那么后续添加的忽略模式将不会生效,具体解决方法,参考<<二.常用命令>>.
#=======================================================================================================================
#============================== java忽略文件 =====================================
#===================== https://github.com/github/gitignore/blob/master/Java.gitignore ==================
#=======================================================================================================================
# 编译后的class文件,忽略所有以[.class]结尾的文件
*.class
# 日志文件,忽略所有以[.log]结尾的文件.
*.log
# BlueJ 文件,忽略所有以[.ctxt]结尾的文件.
*.ctxt
# Mobile Tools for Java (J2ME),忽略[.mtj.tmp/]目录及其子文件.
.mtj.tmp/
# 打包文件,忽略所有以[.jar]或[.war]或[.nar]或[.ear]或[.zip]或[.tar.gz]或[rar]结尾的文件.
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# 虚拟机崩溃日志,忽略所有以[hs_err_pid]开头的文件.[see http://www.java.com/en/download/help/error_hotspot.xml]
hs_err_pid*
#=======================================================================================================================
#============================== maven忽略文件 ===================================
#===================== https://github.com/github/gitignore/blob/master/Maven.gitignore ==================
#=======================================================================================================================
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar
#=======================================================================================================================
#============================== IDE环境忽略文件 ==================================
#===================== https://github.com/github/gitignore/blob/master/Maven.gitignore ==================
#=======================================================================================================================
#----------------IDEA-------------
.idea/*
.idea/compiler.xml
.idea/encodings.xml
.idea/modules.xml
*.iml
#=======================================================================================================================
#============================== other环境忽略文件 ================================
#===================== https://github.com/github/gitignore/blob/master/Maven.gitignore ==================
#=======================================================================================================================
*.sw?
.#*
*#
*~
.classpath
.project
.settings/
bin
build
target
dependency-reduced-pom.xml
*.sublime-*
/scratch
.gradle
Guardfile
README.html
*.iml
.idea
*/.DS_Store
.DS_Store
/.idea

View file

@ -0,0 +1,3 @@
include: http://api.k8s9.com/devops/v1/projects/285085540595404800/ci_contents/pipelines/28fdd611-58b2-4fe4-840b-c5e199c7c541/content.yaml
#include: http://api.baogicloud.com/devops/v1/projects/204888765897510912/ci_contents/pipelines/af1afb46-e9f7-4d9e-9d99-f67ca1eb8681/content.yaml

View file

@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* Skyer平台服务启动类 主要包含平台通用功能
*
*
* @author
*/
@EnableSkyerLabel
@EnableDiscoveryClient

View file

@ -12,7 +12,7 @@ import org.skyer.swagger.swagger.extra.ExtraDataManager;
/**
* 服务基本信息
*
*
* @author
*/
@SkyerExtraData
public class TagsExtraDataManager implements ExtraDataManager {

View file

@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* 数据源类型
*
*
* @author
*/
@Inherited
@Target({ElementType.TYPE})

View file

@ -4,14 +4,14 @@ package org.skyer.tags.infra.constant;
/**
* 公司常量类
*
*
* @author
*/
public class CompanyConstants {
/**
* 企业审批后续处理类型
*
*
* @author
*/
public static class CompanyApprovalProcessType {
/**
@ -31,7 +31,7 @@ public class CompanyConstants {
/**
* 企业审批后续处理状态
*
*
* @author
*/
public static class CompanyApprovalProcessStatus {
/**

View file

@ -5,7 +5,7 @@ import org.skyer.common.SkyerService;
/**
* 平台常量
*
*
* @author
*/
public interface Constants {
@ -51,7 +51,7 @@ public interface Constants {
/**
* kafka topic常量
*
*
* @author
*/
interface KafkaTopics {
/**
@ -71,7 +71,7 @@ public interface Constants {
/**
* 编码规则代码
*
*
* @author
*/
interface RuleCodes {
/**

View file

@ -3,7 +3,7 @@ package org.skyer.tags.infra.constant;
/**
* 基础模块常量
*
*
* @author
*/
public interface FndConstants {
@ -308,7 +308,7 @@ public interface FndConstants {
/**
* 数据来源
*
*
* @author
*/
interface DataSource {
String SKYER = "SKYER";

View file

@ -3,7 +3,7 @@ package org.skyer.tags.infra.constant;
/**
* 维护返回异常信息
*
*
* @author
*/
public class HpfmMsgCodeConstants {

View file

@ -21,7 +21,7 @@ public class HrConstants {
/**
* 维度类型
*
*
* @author
*/
public static class DimensionType {
/**

View file

@ -8,7 +8,7 @@ import org.skyer.core.convert.CommonConverter;
/**
* 通用对象转换工具
*
*
* @author
*/
public class CommonConvertor<T, V> {
/**

View file

@ -4,7 +4,7 @@ package org.skyer.tags.infra.enums;
*
* 连接池类型
*
*
* @author
*/
public enum DBPoolTypeEnum {
/**

View file

@ -6,7 +6,7 @@ import org.skyer.tags.infra.constant.Constants;
*
* 数据库类型
*
*
* @author
*/
public enum DatabaseTypeEnum {
/**

View file

@ -21,7 +21,7 @@ import org.skyer.core.exception.CommonException;
/**
* description
*
*
* @author
*/
@Component
public class MessageHandler extends SocketMessageHandler {

View file

@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* HPFM Properties
*
*
* @author
*/
@ConfigurationProperties(prefix = TagsProperties.PREFIX)
public class TagsProperties {

View file

@ -20,7 +20,7 @@ import org.skyer.core.util.ResponseUtils;
/**
* Json工具类
*
*
* @author
* @see ResponseUtils
*/
public class JsonUtils {

BIN
业务架构.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

BIN
技术架构.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB