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

View File

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