测试UpdateSensitiveWord
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
@@ -385,6 +386,7 @@ func (c *SkuController) UpdateSensitiveWord() {
|
||||
// VendorID: params.VendorID,
|
||||
// Word: params.Word,
|
||||
//}
|
||||
globals.SugarLogger.Debug("UpdateSensitiveWord入参params:", params)
|
||||
words, err := dao.GetSensitiveWordList(params.VendorID)
|
||||
word := words[0]
|
||||
word.Word = params.Word
|
||||
|
||||
Reference in New Issue
Block a user