From f434ea123138b2ef461dad5b9179f1efa2089355 Mon Sep 17 00:00:00 2001 From: "shylinux@163.com" Date: Sun, 2 Oct 2022 18:55:39 +0800 Subject: [PATCH] opt some --- src/hi/hi.go | 3 +++ src/hi/hi.js | 2 +- src/hi/hi.sh | 5 +++++ src/website/index.iml | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/hi/hi.go b/src/hi/hi.go index cef1fb03..d750c405 100644 --- a/src/hi/hi.go +++ b/src/hi/hi.go @@ -18,6 +18,9 @@ func (s hi) Show(m *ice.Message, arg ...string) { func (s hi) List(m *ice.Message, arg ...string) { s.Zone.ListPage(m, arg...) m.Echo("hello world") + m.Echo("hello world") + m.Echo("hello world") + m.Echo("hello world") } func init() { ice.Cmd("web.code.hi.hi", hi{}) } diff --git a/src/hi/hi.js b/src/hi/hi.js index 43c3fe38..f495e8a4 100644 --- a/src/hi/hi.js +++ b/src/hi/hi.js @@ -1,4 +1,4 @@ -Volcanos("onimport", {help: "导入数据", _init: function(can, msg) { +Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg) { msg.Echo("hello world") msg.Echo("hello world") msg.Echo("hello world") diff --git a/src/hi/hi.sh b/src/hi/hi.sh index e529eefc..67359cc8 100644 --- a/src/hi/hi.sh +++ b/src/hi/hi.sh @@ -1,5 +1,10 @@ #! /bin/sh +function show() { + echo "hello world" +} + +show _list echo diff --git a/src/website/index.iml b/src/website/index.iml index 68653366..afb7f5f8 100644 --- a/src/website/index.iml +++ b/src/website/index.iml @@ -62,7 +62,7 @@ profile "测试群" toolkit "工具 toolkit" ~ web.code favor xterm inner vimer bench pprof oauth language "语言 language" - ~ web.code c sh shy go js py + ~ web.code c sh py shy js go operate "运维群" aaa "权限 aaa" - user totp sess role