Authored by 王水玲

risk

... ... @@ -31,10 +31,10 @@ const risk = {
add: async(ctx, next) => {
var data = {};
var key = ctx.request.query.key;
var app = key.split('/')[0];
var oldRet = '';
if (key) {
var app = key.split('/')[0];
var path = formatPath(app);
oldRet = await zookeeperModel.getPath(path);
... ...