diff --git a/modules/chat/module.go b/modules/chat/module.go
index 5f66ac326..db70e1ef7 100644
--- a/modules/chat/module.go
+++ b/modules/chat/module.go
@@ -129,7 +129,7 @@ func (this *Chat) SendSysChatToWorld(ctype comm.ChatSystemType, appenddata inter
data := map[string]interface{}{
"0": map[string]interface{}{
"key": "0",
- "appendStr": jsonStr,
+ "appendStr": string(jsonStr),
"itemType": pb.ChatType_EquipmentShare,
},
}
diff --git a/modules/equipment/api_upgrade.go b/modules/equipment/api_upgrade.go
index 287129aef..2c21eb87d 100644
--- a/modules/equipment/api_upgrade.go
+++ b/modules/equipment/api_upgrade.go
@@ -185,7 +185,7 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.EquipmentUpgrade
if user = this.module.ModuleUser.GetUser(session.GetUserId()); user != nil {
var color *cfg.GameGameColorData
if color, err = this.module.configure.GetColor(conf.Color); err == nil {
- this.module.chat.SendSysChatToWorld(comm.EquipmentUpgradeNotice, equipment, equipment.Lv, fmt.Sprintf("[color=%s]%s[/color]", color.Color, user.Name), conf.Name)
+ this.module.chat.SendSysChatToWorld(comm.EquipmentUpgradeNotice, equipment, equipment.Lv, user.Name, fmt.Sprintf("[color=%s]%s[/color]", color.Color, conf.Name))
} else {
this.module.Errorf("GetColor err:%s", err.Error())
}