OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
22
.dev/remote-deploy/44_verify_fullscreen.sh
Normal file
22
.dev/remote-deploy/44_verify_fullscreen.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
set -u
|
||||
cd /var/www/onebot
|
||||
JAR=/tmp/ob44.txt
|
||||
rm -f $JAR
|
||||
BODY=$(curl -s -c $JAR http://127.0.0.1:8081/auth/login)
|
||||
CSRF=$(echo "$BODY" | grep -oE 'name="csrf-token" content="[^"]*"' | sed 's/.*content="//;s/"//')
|
||||
curl -s -b $JAR -c $JAR -X POST http://127.0.0.1:8081/auth/login \
|
||||
-d "username=ruiguo_wang@163.com" -d "password=wrg521113.." -d "_token=$CSRF" \
|
||||
-H "X-CSRF-TOKEN: $CSRF" -o /dev/null
|
||||
curl -s -b $JAR -o /tmp/ob44.html -w "detail HTTP=%{http_code}\n" http://127.0.0.1:8081/bom/show/3
|
||||
|
||||
echo "=== 关键改动检查 ==="
|
||||
echo -n "filters 筛选插件: "; grep -c 'filters: true' /tmp/ob44.html
|
||||
echo -n "dropdownMenu 列头下拉: "; grep -c 'dropdownMenu: true' /tmp/ob44.html
|
||||
echo -n "search 搜索插件: "; grep -c 'search: true' /tmp/ob44.html
|
||||
echo -n "stretchH 铺满: "; grep -c "stretchH: 'all'" /tmp/ob44.html
|
||||
echo -n "calcHeight 动态高度: "; grep -c 'function calcHeight' /tmp/ob44.html
|
||||
echo -n "window resize 重算: "; grep -c "'resize'" /tmp/ob44.html
|
||||
echo -n "数据源管理按钮: "; grep -c 'btnSourceManager' /tmp/ob44.html
|
||||
echo -n "数据源管理弹窗: "; grep -c 'sourceManagerModal' /tmp/ob44.html
|
||||
echo -n "顶部源配置面板已移除(应为0): "; grep -c 'Teable 数据源</div>' /tmp/ob44.html
|
||||
Reference in New Issue
Block a user