This commit is contained in:
cdle
2021-09-22 12:05:04 +08:00
parent 2845867c88
commit fd59c5223c
+1 -1
View File
@@ -107,7 +107,7 @@ func (sender *Faker) Reply(msgs ...interface{}) (int, error) {
rt := ""
var n *Notify
for _, msg := range msgs {
switch msgs[0].(type) {
switch msg.(type) {
case []byte:
rt = (string(msg.([]byte)))
case string: