🎨 优化代码结构

This commit is contained in:
源文雨
2022-03-14 12:46:54 +08:00
parent b85408e3e5
commit be7e8134f9
16 changed files with 31 additions and 38 deletions

View File

@@ -33,7 +33,7 @@ func init() {
// shindanmaker 处理函数
func handle(ctx *zero.Ctx) {
// 获取名字
name := ctxext.NickName(ctx)
name := ctx.NickName()
// 调用接口
txt, err := shindanmaker.Shindanmaker(ctx.State["id"].(int64), name)
if err != nil {