| | |
| | | |
| | | public class LiJinException extends BaseException { |
| | | // 淘礼金账户暂未创建 |
| | | public static final int CODE_TLJ_UN_PAID = 100; |
| | | //商品不支持创建淘礼金 |
| | | public static final int CODE_TLJ_FORBIDDEN = 101; |
| | | public static final int CODE_TLJ_UN_PAID = 101; |
| | | // 官方账户余额不足 |
| | | public static final int CODE_TLJ_NO_MONEY = 102; |
| | | |
| | | |
| | | public LiJinException(int code, String msg) { |
| | | super(code, msg); |
| | |
| | | |
| | | public List<LiJinProviderAccount> listByPage(int page, int pageSize, LiJinProviderAccount t); |
| | | |
| | | /** |
| | | * 通过供应商ID 查询有效账号信息 |
| | | * @param providerId |
| | | * @return |
| | | */ |
| | | public List<LiJinProviderAccount> listByProviderId(Long providerId); |
| | | |
| | | public void insertSelective(LiJinProviderAccount provider); |
| | | |
| | | public void updateByPrimaryKeySelective(LiJinProviderAccount provider); |
| | |
| | | |
| | | public class Constant { |
| | | |
| | | //奖品领取有效期为7天 |
| | | public final static long ACTIVITY_DRAWN_RECIEVE_VALID_TIME = 1000 * 60 * 60L * 24 * 7; |
| | | // 支付地址 |
| | | public final static String HOST = ""; |
| | | |
| | | |
| | | } |