|
|
@@ -16,6 +16,8 @@ import org.springframework.stereotype.Component;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.Date;
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.Map;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
|
|
|
@@ -34,27 +36,15 @@ public class WeChatService {
|
|
|
|
|
|
@Autowired
|
|
|
private RedisCache redisCache;
|
|
|
- @Autowired
|
|
|
- private SysUserMapper sysUserMapper;
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 公出待审核通知
|
|
|
- */
|
|
|
- private static final String PUBLIC_RELEASE_EXAMINE ="j7WH3EwQnxGxwuV2HwmJhryxySPE8vOiV5cVOpp-42I";
|
|
|
- /**
|
|
|
- * 公出审核结果通知
|
|
|
- */
|
|
|
- private static final String PUBLIC_RELEASE_EXAMINE_RESULT="pWia-KJPFwDM8ReDu_BOa9FJn31VFc81bp3yxfBmIRI";
|
|
|
- /**
|
|
|
- * 公出待审核通知
|
|
|
- */
|
|
|
- private static final String EXPENSE_RELEASE_EXAMINE ="0e2Te3WUa0fDPQnyE8TLmN_K06WLsB4fqm5qpo6npNo";
|
|
|
- /**
|
|
|
- * 公出审核结果通知
|
|
|
+ * 审批流程消息提醒
|
|
|
*/
|
|
|
- private static final String EXPENSE_RELEASE_EXAMINE_RESULT="rRPWzRcGY8BGwlk0xyjwR1RKdv3iRFXaU3bcK1300gw";
|
|
|
+ private static final String PUBLIC_RELEASE_EXAMINE ="2L9AJWl2yNfgd83Fw_f_E6HiaEvPf109iw_xFtI8PXI";
|
|
|
+
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -118,14 +108,14 @@ public class WeChatService {
|
|
|
|
|
|
|
|
|
|
|
|
-// /**
|
|
|
-// * 推送微信订阅信息,跳转为公出信息
|
|
|
-// * @param openid 发送对象微信openid
|
|
|
-// * @param type 状态 0驳回 1发起 2同意
|
|
|
-// * @param date 日期
|
|
|
-// * @param aname 发送者名称
|
|
|
-// * @param remarks 发送信息,不能大于十五个字
|
|
|
-// */
|
|
|
+ /**
|
|
|
+ * 推送微信订阅信息,跳转为公出信息
|
|
|
+ * @param openid 发送对象微信openid
|
|
|
+ * @param type 状态 0驳回 1发起 2同意
|
|
|
+ * @param date 日期
|
|
|
+ * @param aname 发送者名称
|
|
|
+ * @param remarks 发送信息,不能大于十五个字
|
|
|
+ */
|
|
|
// public Integer addNotice(String openid ,Integer type,Integer id, Date date, String aname,String remarks) {
|
|
|
// Map<String, Object> map=new HashMap<String, Object>();
|
|
|
// String accessToken=getAccessToken();
|