| | |
| | | import com.yeshi.fanli.util.ImageUtil; |
| | | import com.yeshi.fanli.util.RedisManager; |
| | | import com.yeshi.fanli.util.StringUtil; |
| | | import com.yeshi.fanli.util.TimeUtil; |
| | | import org.yeshi.utils.TimeUtil; |
| | | import com.yeshi.fanli.vo.money.MoneyStatisticVO; |
| | | import com.yeshi.fanli.vo.user.MineInfoVO; |
| | | |
| | |
| | | if (StringUtil.isNullOrEmpty(time)) |
| | | throw new PreviewInfoException(1, "提现时间不能为空"); |
| | | |
| | | Date parse = TimeUtil.parseDotCommon2(time); |
| | | if (parse == null) |
| | | throw new PreviewInfoException(1, "请输入正确的时间格式,如:2020.01.01 01:01"); |
| | | Date receiveTime = TimeUtil.parseYYYYMMDD_HHMM(time); |
| | | if (receiveTime == null) |
| | | throw new PreviewInfoException(1, "请输入正确的时间格式"); |
| | | |
| | | |
| | | Gson gson = new Gson(); |
| | |
| | | extract.setName(alipay.getName()); |
| | | extract.setAccount(alipay.getAccount()); |
| | | extract.setMoney(money); |
| | | extract.setReceiveTime(TimeUtil.parseDotCommon2(time)); |
| | | extract.setReceiveTime(receiveTime); |
| | | extract.setId(java.lang.System.currentTimeMillis()); |
| | | |
| | | String id = StringUtil.Md5(uid + "#" + PreviewEnum.extractRecord.name()); |
| | |
| | | throw new PreviewInfoException(1, "请输入订单号"); |
| | | if(StringUtil.isNullOrEmpty(time)) |
| | | throw new PreviewInfoException(1, "请输入创建时间"); |
| | | Date date = TimeUtil.parseDotCommon2(time); |
| | | Date date = TimeUtil.parseYYYYMMDD_HHMM(time); |
| | | if (date == null) |
| | | throw new PreviewInfoException(1, "请输入正确的时间格式,如:2020.01.01 01:01"); |
| | | |
| | | // 转换格式 |
| | | time = TimeUtil.formatYMDHHMM(date); |
| | | throw new PreviewInfoException(1, "请输入正确的时间格式"); |
| | | |
| | | InputStream drawStream = null; |
| | | if ("ios".equalsIgnoreCase(platform)) { |