菜单优化
This commit is contained in:
@@ -127,31 +127,31 @@ public class JDUtil {
|
||||
|
||||
private StringBuilder buildStatsContent(String title, OrderStats stats) {
|
||||
StringBuilder content = new StringBuilder();
|
||||
content.append("━━━━━━━━━━━━\n")
|
||||
.append("* ").append(title).append(" *\n")
|
||||
.append("━━━━━━━━━━━━\n")
|
||||
.append("\uD83D\uDCCB 订单总数:").append(stats.getTotalOrders()).append("\n") // 📋
|
||||
.append("\u2705 有效订单:").append(stats.getValidOrders()).append("\n") // ✅
|
||||
.append("────────────\n")
|
||||
.append("\uD83D\uDCB0 已付款:").append(stats.getPaidOrders()).append("\n") // 💰
|
||||
.append("\uD83D\uDCB8 已付佣金:").append(String.format("%.2f", stats.getPaidCommission())).append("\n") // 💸
|
||||
.append("────────────\n")
|
||||
.append("\u23F3 待付款:").append(stats.getPendingOrders()).append("\n") // ⏳
|
||||
.append("\uD83D\uDCB5 待付佣金:").append(String.format("%.2f", stats.getPendingCommission())).append("\n") // 💵
|
||||
.append("────────────\n")
|
||||
.append("\uD83D\uDEAB 已取消:").append(stats.getCanceledOrders()).append("\n") // 🚫
|
||||
.append("\uD83C\uDFC1 已完成:").append(stats.getCompletedOrders()).append("\n") // 🏁
|
||||
.append("\uD83D\uDCB3 完成佣金:").append(String.format("%.2f", stats.getCompletedCommission())).append("\n") // 💳
|
||||
.append("────────────\n")
|
||||
.append("\u26A0 违规订单:").append(stats.getViolations()).append("\n") // ⚠️
|
||||
.append("\uD83D\uDCA3 违规佣金:").append(String.format("%.2f", stats.getViolationCommission())).append("\n") // 💣
|
||||
.append("━━━━━━━━━━━━");
|
||||
|
||||
content.append("━━━━━━━━━━━━\n")
|
||||
.append("* ").append(title).append(" *\n")
|
||||
.append("━━━━━━━━━━━━\n")
|
||||
.append("[文件] 订单总数:").append(stats.getTotalOrders()).append("\n") // [文件]
|
||||
.append("[OK] 有效订单:").append(stats.getValidOrders()).append("\n") // [OK]
|
||||
.append("────────────\n")
|
||||
.append("[钱袋] 已付款:").append(stats.getPaidOrders()).append("\n") // [钱袋]
|
||||
.append("[钞票] 已付佣金:").append(String.format("%.2f", stats.getPaidCommission())).append("\n") // [钞票]
|
||||
.append("────────────\n")
|
||||
.append("[时钟] 待付款:").append(stats.getPendingOrders()).append("\n") // [时钟]
|
||||
.append("[钱] 待付佣金:").append(String.format("%.2f", stats.getPendingCommission())).append("\n") // [钱]
|
||||
.append("────────────\n")
|
||||
.append("[禁止] 已取消:").append(stats.getCanceledOrders()).append("\n") // [禁止]
|
||||
.append("[旗帜] 已完成:").append(stats.getCompletedOrders()).append("\n") // [旗帜]
|
||||
.append("[信用卡] 完成佣金:").append(String.format("%.2f", stats.getCompletedCommission())).append("\n") // [信用卡]
|
||||
.append("────────────\n")
|
||||
.append("[警告] 违规订单:").append(stats.getViolations()).append("\n") // [警告]
|
||||
.append("[炸弹] 违规佣金:").append(String.format("%.2f", stats.getViolationCommission())).append("\n") // [炸弹]
|
||||
.append("━━━━━━━━━━━━");
|
||||
return content;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 接收京粉指令指令
|
||||
*/
|
||||
|
||||
@@ -58,7 +58,7 @@ public class WXUtil {
|
||||
jdidToWxidMap.put(admin2.getUnionId(), admin2.getWxid());
|
||||
//wxTsUtil.sendNotify("initSuperAdmins 初始化完成");
|
||||
//发送通知到微信
|
||||
sendTextMessage(default_super_admin_wxid,"Jarvis 重启完成 \u2705", 1, default_super_admin_wxid);
|
||||
sendTextMessage(default_super_admin_wxid,"Jarvis 重启完成 [OK]", 1, default_super_admin_wxid);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user