Skip to content

Commit

Permalink
Merge pull request anduinnn#23 from anduinnn/getUserName
Browse files Browse the repository at this point in the history
获取用户名,在推送的时候输出用户名
  • Loading branch information
anduinnn authored Apr 2, 2024
2 parents 2e2165a + 4f7488d commit 00ee2de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/cloud/ohiyou/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import java.util.regex.Pattern;

public class Main {
// private static final String COOKIE = System.getenv("COOKIE");
private static final String COOKIE = "bbs_sid=7bl67b8516gvcn3qejbcsnvotf; bbs_token=1sslA6_2B2TGqkFbnc8t0HPuvahctVQURp_2B28V13Nx2eSp0oEGkMjNS5x9ZTxHrPzbvXgFzvVdcHrd_2BNU2Ar_2F_2FL63RjCym7mrj &\n";
private static final String COOKIE = System.getenv("COOKIE");
//private static final String COOKIE = "bbs_sid=7bl67b8516gvcn3qejbcsnvotf; bbs_token=1sslA6_2B2TGqkFbnc8t0HPuvahctVQURp_2B28V13Nx2eSp0oEGkMjNS5x9ZTxHrPzbvXgFzvVdcHrd_2BNU2Ar_2F_2FL63RjCym7mrj &\n";
private static final String DINGTALK_WEBHOOK = System.getenv("DINGTALK_WEBHOOK"); // 钉钉机器人 access_token 的值
private static final String WXWORK_WEBHOOK = System.getenv("WXWORK_WEBHOOK"); // 企业微信机器人 key 的值
private static final String SERVER_CHAN_KEY = System.getenv("SERVER_CHAN");
Expand Down

0 comments on commit 00ee2de

Please sign in to comment.