diff --git a/ms-biz/src/main/java/com/ms/biz/consts/MoveConst.java b/ms-biz/src/main/java/com/ms/biz/consts/MoveConst.java deleted file mode 100644 index 78e1d75..0000000 --- a/ms-biz/src/main/java/com/ms/biz/consts/MoveConst.java +++ /dev/null @@ -1,165 +0,0 @@ -package com.ms.biz.consts; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class MoveConst { - public static final String PAY_TYPE = "1"; - public static final String REDUCE_TYPE = "2"; - public static final String DEFAULT_WEIGHT_UNIT = "1"; - public static final String Collect_DS_COPY = "dsCopy"; - public static final String ALI_PRICE_TYPE_CONSIGN = "consign"; - - public static final String PRICE_DECIMAL_TYPE_HOLD_FEN_JIAO = "holdFenJiao"; - public static final String PRICE_DECIMAL_TYPE_KEEP_SOURCE = "keepSource"; - public static final String PRICE_DECIMAL_TYPE_CLEAR_FEN_JIAO = "clearFenJiao"; - public static final String PRICE_DECIMAL_TYPE_CLEAR_FEN = "clearFen"; - public static final String PRICE_DECIMAL_TYPE_DIY = "diy"; - public static final int MOVE_TITLE_LEN = 60; //标题最多60个字符(汉字算2,英文数字算1) - - public static final int MOVE_TITLE_LEN_TEST = 40; // 测试店铺下特殊 - - //0-普通,3-虚拟,6玉石闪购,7云闪购 - public static final long PRODUCT_TYPE_NORMAL = 0L; - public static final long PRODUCT_TYPE_VIRTUAL = 3L; - public static final long PRODUCT_TYPE_YSSG = 6L; - public static final long DEFAULT_FREIGHT_TEMPLATE_ID = 7L; - - /** - * 立即上架 - */ - public static final int MOVE_ON_SALE_TYPE_ON_SALE = 0; - - /** - * 放入仓库 - */ - public static final int MOVE_ON_SALE_TYPE_FOR_SALE = 1; - - /** - * 放至草稿箱 - */ - public static final int MOVE_ON_SALE_TYPE_DRAFT = 2; - - public static final int MOVE_PUBLISH_TO_PIC_QUQUE_AGAIN_WAIT_SPEC_PIC_AUDIT_PASS = 9898; - public static final int MOVE_PUBLISH_TO_PIC_QUQUE_AGAIN_WAIT_MAIN_IMG_PIC_AUDIT_PASS = 9899; - public static final int MOVE_PUBLISH_TO_PIC_QUQUE_AGAIN_WAIT_NOTE_IMG_PIC_AUDIT_PASS = 9897; - - public static final String attrInputTypeText = "text"; - public static final String attrInputTypeSelect = "select"; - public static final String attrInputTypeSearch = "search"; - public static final String attrInputTypeMultiSelect = "multi_select"; - public static final String attrInputTypeTimeFrame = "timeframe"; - public static final String attrInputTypeTimeRange = "timerange"; - public static final String attrInputTypeTimestamp = "timestamp"; - - public static final int baseMarketPriceTypeDdPrice = 1; - public static final int maxMarketPrice = 9999999; // 划线价最高9999999.99(单位元) - - public static final String priceDecimalTypeHoldFenJiao = "holdFenJiao"; - public static final String priceDecimalTypeKeepSource = "keepSource"; - public static final String priceDecimalTypeClearFenJiao = "clearFenJiao"; - public static final String priceDecimalTypeClearFen = "clearFen"; - public static final String priceDecimalTypeDiy = "diy"; - - public static Integer skuMinPriceTypeAdd = 1; - public static Integer skuMinPriceTypeUpdate = 2; - - public static Integer skuMinPriceSkuPriceSourceAfterCal = 1; - public static Integer skuMinPriceSkuPriceSourceFromSource = 2; - public static Integer skuMinSkuPriceTypeColor = 1; - - public static Integer noBrandId = 596120136; // 无品牌ID - public static String noBrandChinaName = "无品牌"; - public static Integer brandAuditStatusSuccess = 2; // 品牌审核通过 - - public static final String descCopyTypeCopy = "copy"; - public static final String descCopyTypeNoCopy = "noCopy"; - public static final String descCopyTypeUseMainImage = "useMainImage"; - - public static Integer filterEmptyColorImgYes = 1; - public static Integer filterEmptyColorImgNo = 2; - - public static int moveSpecTotal = 20; - public static String skuKeyInterval = ";-;"; - public static int movePicTotal = 50; - public static int moveTitleLen = 60; - public static String saleAttrColorName = "规格"; - public static String saleAttrSizeName = "类型"; - public static String skuSpecName = "发货时效"; - public static Integer presellConfigLevelNowAndPresell = 102; - public static String presellTimeSkuSpecDetailWithinSameDay = "当日发/次日发"; - public static String presellTimeSkuSpecDetailWithinNextDay = "次日发"; - public static String presellTimeSkuSpecDetailWithin48Hours = "48小时内发货"; - public static String presellTimeSkuSpecDetailWithin5Days = "5天内发货"; - public static String presellTimeSkuSpecDetailWithin7Days = "7天内发货"; - public static String presellTimeSkuSpecDetailWithin10Days = "10天内发货"; - public static String presellTimeSkuSpecDetailWithin15Days = "15天内发货"; - public static String presellTimeSkuSpecDetailWithin45Days = "45天内发货"; - public static String presellTimeSkuSpecDetailWithinNew = "现货"; - public static Integer basePriceTypeSourcePrice = 0; - public static Integer basePriceTypeCostPrice = 1; - - public static String aliPriceTypeSourceOrder = "order"; - public static String aliPriceTypeConsign = "consign"; - public static String aliPriceTypeConfig = "config"; - public static String collectTaskSource1688 = "1688"; - public static String proxyPlatformTypePicUrl = "picUrl"; - public static String brandEmpty = "empty"; - - public static Integer supply7dayReturnNo = 0; - public static Integer supply7dayReturnYes = 1; - public static Integer supply7dayReturnIfOpenNo = 2; - public static Integer supply7dayReturnIfInstallNo = 3; - public static Integer supply7dayReturnIfActivateNo = 4; - public static Integer supply7dayReturnIfUseNo = 5; - public static Integer supply7dayReturnIfCustomNo = 6; - public static Integer supply7dayReturnIfContractNo = 8; - public static String collectDsCopy = "dsCopy"; - - public static Integer deliveryDelayToday = 9999; - public static Integer deliveryDelayOneDay = 1; - public static Integer deliveryDelayTwoDay = 2; - public static Integer deliveryDelayThreeDay = 3; - public static Integer deliveryDelayFiveDay = 5; - public static Integer deliveryDelaySevenDay = 7; - public static Integer deliveryDelayTenDay = 10; - public static Integer deliveryDelayFifteenDay = 15; - public static Integer deliveryDelayThirtyDay = 30; - public static Integer deliveryDelayFortyFiveDay = 45; - public static Integer MovePublishToPicQueueAgainWaitSpecPicAuditPass = 9898; - public static Integer MovePublishToPicQueueAgainWaitMainImgPicAuditPass = 9899; - public static Integer MovePublishToPicQueueAgainWaitNoteImgPicAuditPass = 9897; - public static Integer defaultFreightTemplateId = 0; - public static List getSpecialBanWordList() { - List result = new ArrayList(); - result.add("特价"); - result.add("至尊"); - result.add("抖音同款"); - result.add("100%"); - result.add("百分百"); - result.add("首选"); - result.add("批发价"); - result.add("终极"); - result.add("顶级"); - result.add("纯天然"); - result.add("批发价"); - result.add("极品"); - result.add("唯一"); - return result; - } - - public static Map getSupply7dayReturnOption() { - Map options = new HashMap<>(); - options.put(String.valueOf(MoveConst.supply7dayReturnNo), "不支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnYes), "支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnIfOpenNo), "拆封后不支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnIfInstallNo), "安装后不支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnIfActivateNo), "激活后不支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnIfUseNo), "使用后不支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnIfCustomNo), "定制类不支持"); - options.put(String.valueOf(MoveConst.supply7dayReturnIfContractNo), "合约版不支持"); - return options; - } -} diff --git a/pom.xml b/pom.xml index b1b2b45..87792a3 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ spring-boot-maven-plugin ${spring-boot-maven-plugin.version} - deploy.com.ms.biz.MsApplication + com.ms.deploy.MsApplication true