Skip to content

Commit

Permalink
码云和github通知分开
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrian2012 committed Oct 26, 2023
1 parent 53890af commit 4eefa30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/cn/wildfirechat/app/gitee/GiteeServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public class GiteeServiceImpl implements GiteeService {
@Value("${robot.im_secret}")
private String mRobotSecret;

@Value("${forward.conversation_type}")
@Value("${forward.gitee.conversation_type}")
private int mFwdType;

@Value("${forward.conversation_target}")
@Value("${forward.gitee.conversation_target}")
private String mFwdTarget;

@PostConstruct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public class GithubServiceImpl implements GithubService {
@Value("${robot.im_secret}")
private String mRobotSecret;

@Value("${forward.conversation_type}")
@Value("${forward.github.conversation_type}")
private int mFwdType;

@Value("${forward.conversation_target}")
@Value("${forward.github.conversation_target}")
private String mFwdTarget;

@PostConstruct
Expand Down
7 changes: 5 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ robot.im_id=FireRobot
robot.im_url=http://192.168.2.15:80
robot.im_secret=123456

forward.conversation_type=1
forward.conversation_target=tR16v6xx
forward.github.conversation_type=1
forward.github.conversation_target=tR16v6xx

forward.gitee.conversation_type=1
forward.gitee.conversation_target=728qmws2k

0 comments on commit 4eefa30

Please sign in to comment.