This commit is contained in:
2019-04-11 23:04:13 +08:00
parent 6e7388ddf4
commit 14795814e3
24 changed files with 384 additions and 66 deletions

View File

@@ -2,6 +2,7 @@ package net.tccn.service;
import com.arangodb.Predicate;
import com.google.gson.Gson;
import net.tccn.base.MetaKit;
import org.redkale.net.http.RestMapping;
import org.redkale.service.Service;
import org.redkale.source.CacheSource;
@@ -88,4 +89,8 @@ public class BaseService implements Service {
return prop.getProperty(k);
}
public String platId(String token) {
return MetaKit.getPlatId(token);
}
}

View File

@@ -23,7 +23,7 @@ public class DataService extends BaseService {
private MetadataService metadataService;
@RestMapping(name = "list", comment = "数据分页列表")
@RestMapping(name = "list", auth = false, comment = "数据分页列表")
public JBean findList(FBean fBean, @RestParam(name = "platToken") String token) {
JBean jBean = new JBean();
try {