Commit 2b78184d authored by renjie's avatar renjie

修改group接口

parent d5872159
......@@ -16,7 +16,7 @@ public class IpResourceDto {
private String ipRegion;
private IpStatus ipStatus;
private List<Interval> ports;
private long createdAt;
private long purchasedTIme;
private long validTime;
private long leftTime;
private String username;
......@@ -105,12 +105,12 @@ public class IpResourceDto {
this.leftTime = leftTime;
}
public long getCreatedAt() {
return createdAt;
public long getPurchasedTIme() {
return purchasedTIme;
}
public void setCreatedAt(long createdAt) {
this.createdAt = createdAt;
public void setPurchasedTIme(long purchasedTIme) {
this.purchasedTIme = purchasedTIme;
}
public IpType getIpType() {
......
......@@ -73,8 +73,6 @@ public class ShopServiceImpl implements ShopService {
shopDto.setOwner(username);
Shop shop = new Shop();
shop.of(shopDto);
logger.error(shop.getShopName());
logger.error(shopDto.getShopName());
id = shopRepository.save(shop).getId();
UserShop userShop = new UserShop();
userShop.setUsername(username);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment