nili 7 months ago
parent
commit
eb5bcfd356
  1. 2
      game-dao/src/main/java/awesome/group/game/dao/mapper/MatrixAdvRecordMapper.java
  2. 2
      game-service/src/main/java/awesome/group/game/service/pay/AlipayFundTransUniTransfer.java

2
game-dao/src/main/java/awesome/group/game/dao/mapper/MatrixAdvRecordMapper.java

@ -22,6 +22,6 @@ public interface MatrixAdvRecordMapper extends BaseMapper<MatrixAdvRecord> {
@Select("select device_id from matrix_white_device")
List<String> whiteList();
@Select("select device_id, device_brand, device_name, ip from matrix_adv_record where device_id in (select device_id from matrix_white_device where channel = #{channel}) group by device_id")
@Select("select device_id, device_brand, device_name, ip from matrix_adv_record where device_id in (select device_id from matrix_white_device where channel = #{channel}) limit 200")
List<MatrixAdvRecord> getWhiteDevice(String channel);
}

2
game-service/src/main/java/awesome/group/game/service/pay/AlipayFundTransUniTransfer.java

@ -92,7 +92,7 @@ public class AlipayFundTransUniTransfer {
record.setReason(reason);
return false;
}
} catch (AlipayApiException e) {
} catch (Exception e) {
L.trace("transferError", "record:" + gson.toJson(record), e);
record.setReason("转账失败");
record.setStatus(UserService.TRANSFER_FAIL);

Loading…
Cancel
Save