Commit 11cec7c9 authored by hezhen's avatar hezhen

Merge branch 'master_activity' into dev

parents 63ba3c8a 03af64ab
...@@ -100,15 +100,9 @@ public class ActivityBiz extends BaseBiz<ActivityMapper, Activity> { ...@@ -100,15 +100,9 @@ public class ActivityBiz extends BaseBiz<ActivityMapper, Activity> {
try { try {
activity.setCrtTime(System.currentTimeMillis()); activity.setCrtTime(System.currentTimeMillis());
activity.setIsDel(0); activity.setIsDel(0);
if (activity.getIsOpenBm() == null) {
activity.setIsOpenBm(0);
}
if (activity.getIsPublish() == null) { if (activity.getIsPublish() == null) {
activity.setIsPublish(0); activity.setIsPublish(0);
} }
if (activity.getIsShow() == null) {
activity.setIsShow(0);
}
mapper.insertSelective(activity); mapper.insertSelective(activity);
return true; return true;
} catch (Exception e) { } catch (Exception e) {
......
...@@ -97,7 +97,7 @@ public class UserBiz extends BaseBiz<UserMapper, User> { ...@@ -97,7 +97,7 @@ public class UserBiz extends BaseBiz<UserMapper, User> {
log.info("----code为空---"); log.info("----code为空---");
throw new BaseException(ResultCode.FAILED_CODE, Sets.newSet("code为空")); throw new BaseException(ResultCode.FAILED_CODE, Sets.newSet("code为空"));
} }
String openid = "oXDd91MppH9i5F7xzPwigiMj--5w"; String openid = "oXDd91N8Rwijd3gscAND9TO77a2I";
/*String access_token = null; /*String access_token = null;
try { try {
JSONObject jsonData = weixinService.getAccessToken(code); JSONObject jsonData = weixinService.getAccessToken(code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment