Commit d8323461 by 蒋勇

d

parent 9aeb31cf
...@@ -16,7 +16,7 @@ class RouteService extends ServiceBase { ...@@ -16,7 +16,7 @@ class RouteService extends ServiceBase {
var rtn=null; var rtn=null;
try { try {
//添加路由 //添加路由
let routeobj = await self.cjsonregister(AppService.newRouteUrl(serviceName), { name: routedata.name, hosts: routedata.hosts, paths: routedata.paths, strip_path: routedata.isstrip }) let routeobj = await self.cjsonregister(this.newRouteUrl(serviceName), { name: routedata.name, hosts: routedata.hosts, paths: routedata.paths, strip_path: routedata.isstrip })
routedata.center_id = routeobj.id; routedata.center_id = routeobj.id;
rtn = await self.dao.create(routedata, t); rtn = await self.dao.create(routedata, t);
} catch (e) { } catch (e) {
......
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