| | |
| | | */ |
| | | public class Constants { |
| | | |
| | | public static final String HWY_OBS ="HWY_OBS" ; |
| | | public static final String HWY_OBS_ACCESSID ="HWY_OBS_ACCESSID" ; |
| | | public static final String HWY_OBS_ACCESSKEY ="HWY_OBS_ACCESSKEY" ; |
| | | public static final String HWY_OBS_ENDPOINT ="HWY_OBS_ENDPOINT" ; |
| | | public static final String HWY_OBS_BUCKET ="HWY_OBS_BUCKET" ; |
| | | public static final String OSS ="OSS" ; |
| | | |
| | | public static final String RESOURCE_PATH ="RESOURCE_PATH" ; |
| | | public static final String QYWX_CORPID = "QYWX_CORPID"; |
| | | public static final String QYWX_SECRET = "QYWX_SECRET"; |
| | |
| | | public static final String USER_AGREEMENT ="USER_AGREEMENT" ; |
| | | public static final String PRIVACY_AGREEMENT ="PRIVACY_AGREEMENT" ; |
| | | |
| | | public static final String ACCESS_ID="ACCESS_ID"; |
| | | public static final String BUCKETNAME = "BUCKETNAME"; |
| | | |
| | | public static final String ACCESS_KEY = "ACCESS_KEY"; |
| | | public static final String ENDPOINT = "ENDPOINT"; |
| | | |
| | | public static final String QYWX = "QYWX"; |
| | | public static final Integer ONE = 1; |
| | |
| | | STORAGE_ORDER("storageOrder", "寄存订单"), |
| | | SHOP_DEPOSIT("shopDeposit", "店铺押金订单"), |
| | | DRIVER_DEPOSIT("driverDeposit", "司机押金订单"), |
| | | OVERDUE_FEE("overdueFee", "逾期费用订单") |
| | | OVERDUE_FEE("overdueFee", "订单逾期费用") |
| | | ; |
| | | |
| | | private final String key; |
| | |
| | | public enum OrderCombinedStatus { |
| | | waitPay(0, "待支付", new int[]{OrderStatus.waitPay.status}), |
| | | waitDeposit(1, "待核验", new int[]{OrderStatus.waitDeposit.status}), |
| | | waitDeliver(2, "待配送", new int[]{OrderStatus.deposited.status}), |
| | | waitReceive(3, "待收货", new int[]{OrderStatus.accepted.status, OrderStatus.delivering.status, OrderStatus.arrived.status}), |
| | | waitDeliver(2, "待配送", new int[]{OrderStatus.accepted.status}), |
| | | waitReceive(3, "待收货", new int[]{ OrderStatus.delivering.status, OrderStatus.arrived.status}), |
| | | finished(4, "已完成", new int[]{OrderStatus.finished.status}), |
| | | refund(5, "退款", new int[]{OrderStatus.closed.status, OrderStatus.cancelling.status}) |
| | | ; |