API接口添加每次调用费用;涉农接口添加涉农标识计费
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.fangjia.dal.mongo.tool.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
@@ -73,6 +74,7 @@ public class OpenUriLog implements MongoEntity {
|
||||
private Map<String, Object> resMap;
|
||||
private String parameterMaps;
|
||||
private String tid;
|
||||
private Double cost;
|
||||
|
||||
public String getParameterMaps() {
|
||||
return this.parameterMaps;
|
||||
@@ -238,6 +240,14 @@ public class OpenUriLog implements MongoEntity {
|
||||
this.tid = tid;
|
||||
}
|
||||
|
||||
@Column(name = "cost")
|
||||
public Double getCost() {
|
||||
return cost;
|
||||
}
|
||||
|
||||
public void setCost(Double cost) {
|
||||
this.cost = cost;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
Reference in New Issue
Block a user