forked from MartinDai/weChatRobot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
戴小明
committed
Jan 8, 2017
1 parent
65df19f
commit 6bf33e3
Showing
21 changed files
with
414 additions
and
833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
# 忽略掉所有后缀名为.iml的文件. | ||
*.iml | ||
# 忽略掉IDEA产生的文件. | ||
.idea/ | ||
.idea/ | ||
logs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/java/com/mandy/wechatrobot/constant/AppConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.mandy.wechatrobot.constant; | ||
|
||
/** | ||
* 应用常量类 | ||
* Created by martindai on 2017/1/8. | ||
*/ | ||
public final class AppConstants { | ||
|
||
/** | ||
* 应用id | ||
*/ | ||
public static String APP_ID = null; | ||
/** | ||
* 应用秘钥 | ||
*/ | ||
public static String APP_SECRET = null; | ||
/** | ||
* 令牌 | ||
*/ | ||
public static String TOKEN = null; | ||
/** | ||
* 图灵机器人应用key | ||
*/ | ||
public static String API_KEY = null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
src/main/java/com/mandy/wechatrobot/handle/EventMessageHandle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.