修改敏感词过滤代码结构
This commit is contained in:
@@ -367,6 +367,6 @@ func vendorSkuList2Jx(appFoodList []*mtwmapi.AppFood) (skuNameList []*partner.Sk
|
||||
return skuNameList
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) GetRegexp() *regexp.Regexp {
|
||||
func (p *PurchaseHandler) GetSensitiveWordRegexp() *regexp.Regexp {
|
||||
return regexp.MustCompile(`包含敏感词:(\[.*\])`)
|
||||
}
|
||||
Reference in New Issue
Block a user