This commit is contained in:
wh_zcy 2023-06-15 17:44:18 +08:00
parent 9577fa1346
commit 26481ff284
2 changed files with 8 additions and 7 deletions

View File

@ -28,7 +28,7 @@ import (
var (
CaseIndex = map[string][]string{
"": {
string("gm"),
"gm",
// string(comm.ModuleSys),
// string(comm.ModuleUser),
// string(comm.ModuleHero),
@ -43,12 +43,12 @@ var (
// string(comm.ModuleRtask),
// string(comm.ModuleLinestory),
// string(comm.ModuleGourmet),
string("sociaty"),
"sociaty",
// string(comm.ModuleTroll),
// string(comm.ModuleGrowtask),
string("worldtask"),
"worldtask",
// string(comm.ModuleReddot),
string("smithy"),
"smithy",
// string(comm.ModuleDispatch),
// string(comm.ModuleReputation),
// string(comm.ModuleOldtimes),
@ -194,6 +194,7 @@ var (
// NavLabel: "红点",
// MainType: string(comm.ModuleReddot),
// Enabled: true,
// },
// common.MF(comm.ModuleReddot, "get"): {
// Desc: "红点",
@ -804,13 +805,13 @@ var (
// smithy
string("smithy"): {
NavLabel: "铁匠铺",
MainType: string("smithy"),
MainType: "smithy",
Enabled: true,
},
common.MF("smithy", "tasklist"): {
NavLabel: "任务",
Desc: "当前铁匠铺中的顾客",
MainType: string("smithy"),
MainType: "smithy",
SubType: "tasklist",
Enabled: true,
},

View File

@ -34,7 +34,7 @@ func (s *SmithyView) CreateView(t *model.TestCase) fyne.CanvasObject {
jiaoyi := func() {
if err := service.GetPttService().SendToClient(
t.MainType,
"jiaoyi",
"sell",
&pb.SmithySellReq{
EquipIds: []string{},
CustomerId: 1,