Explorar o código

客服工作台-客服话术添加修改优化

renjiaojiao %!s(int64=2) %!d(string=hai) anos
pai
achega
8d6b8dc2cb
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      rpc/knowledge/internal/service/commonPhrasesService.go

+ 6 - 0
rpc/knowledge/internal/service/commonPhrasesService.go

@@ -64,6 +64,9 @@ func (c *CommonPhrasesService) CommonPhrasesAdd(param *knowledgeclient.CommonPhr
 				ok = false
 				msg = "操作失败"
 			}
+		} else {
+			ok = false
+			msg = "操作失败"
 		}
 
 	} else {
@@ -88,6 +91,9 @@ func (c *CommonPhrasesService) CommonPhrasesAdd(param *knowledgeclient.CommonPhr
 				ok = false
 				msg = "操作失败"
 			}
+		} else {
+			ok = false
+			msg = "操作失败"
 		}
 	}