Commit 7ab0251c by Sxy

fix: 融易算匹配路径

parent 96912d9a
......@@ -13,7 +13,7 @@ class ChannelService extends ServiceBase {
console.log(path);
console.log(datajson);
let p = channelobj.pts.filter(item => {
return item.path == path
return item.path == path || `${item.path}/` == path
})
if (p.length == 0) {
throw Error("请配置渠道流量的路径方法映射")
......
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