上传聊天超链接
This commit is contained in:
parent
45aa790e69
commit
7f0db52213
@ -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,
|
||||
},
|
||||
}
|
||||
|
@ -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("<a href='{0}'>[color=%s]%s[/color]</a>", color.Color, user.Name), conf.Name)
|
||||
this.module.chat.SendSysChatToWorld(comm.EquipmentUpgradeNotice, equipment, equipment.Lv, user.Name, fmt.Sprintf("<a href='0'>[color=%s]%s[/color]</a>", color.Color, conf.Name))
|
||||
} else {
|
||||
this.module.Errorf("GetColor err:%s", err.Error())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user