1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
shylinux 2021-07-28 23:42:37 +08:00
parent 51ce14e0c1
commit 883441ab68

View File

@ -121,7 +121,8 @@ func Render(m *Message, cmd string, args ...interface{}) string {
if m.IsCliUA() {
switch arg := kit.Simple(args...); cmd {
case RENDER_QRCODE: // text [size]
return m.Cmdx("cli.qrcode", arg[0])
msg := m.Cmd("cli.qrcode", arg[0])
return msg.Result()
}
return ""
}