Giter Club home page Giter Club logo

luci-app-pushbot's People

Contributors

1715173329 avatar awter avatar beginner-go avatar binext avatar firkerword avatar kfermercer avatar masterofstar avatar tty228 avatar twinzo1 avatar vantstark avatar xylz0928 avatar zzsj0928 avatar

Stargazers

 avatar  avatar  avatar

luci-app-pushbot's Issues

程序自带的配置文件root/usr/bin/pushbot/api/feishu.json缺失font_green2的键值对导致飞书定时推送失败

程序自带的配置文件root/usr/bin/pushbot/api/feishu.json缺失font_green2的键值对

分析:

  1. root/usr/bin/pushbot/pushbot中1173行需要拼接font_green2的值
    local send_content="${send_content}${str_linefeed}${str_tab}${font_green2}【${ip_name}】${font_end2} ${ip}${str_linefeed}${str_tab}${ip_total}在线 ${time1}"
  2. 对应的配置文件root/usr/bin/pushbot/api/feishu.json中缺失font_green2的键值对
  3. font_green2键值对的缺失会导致对应的值被替换为null
  4. root/usr/bin/pushbot/pushbot在diy_send()实际推送前会进行校验,配置文件中font_green2的缺失导致无法通过root/usr/bin/pushbot/pushbot中102行的校验
  5. 推送失败

解决方案:
root/usr/bin/pushbot/api/feishu.json第16行font_green改为font_green2

源仓库issues关联:zzsj0928#94

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.