v1.0: 动态标签繁体、去除手机号校验

This commit is contained in:
lzm
2022-10-18 16:03:20 +08:00
committed by yeungchihang
parent a607eb3897
commit e63915490b
3 changed files with 9 additions and 9 deletions

View File

@@ -9,12 +9,12 @@ import cn.hutool.core.util.ObjectUtil;
*/
public enum DynamicLabelEnum {
official(1, "官方", "http://image.uat.zhongjialx.com/官方.png", 1),
ACTIVity(2, "活动", "http://image.uat.zhongjialx.com/活动.png", 2),
interaction(3, "互动", "http://image.uat.zhongjialx.com/互.png", 3),
hot(4, "热门","http://image.uat.zhongjialx.com/热门.png", 4),
recommend(5, "推荐","http://image.uat.zhongjialx.com/推荐.png", 5),
latest(6, "","http://image.uat.zhongjialx.com/新.png", 6),
official(1, "官方", "http://beta.img.pekolive.com/官方@3x.png", 1),
ACTIVity(2, "活动", "http://beta.img.pekolive.com/活动@3x.png", 2),
interaction(3, "互动", "http://beta.img.pekolive.com/互動@3x.png", 3),
hot(4, "热门","http://beta.img.pekolive.com/热门@3x.png", 4),
recommend(5, "推荐","http://beta.img.pekolive.com/推荐@3x.png", 5),
latest(6, "","http://beta.img.pekolive.com/新@3x.png", 6),
;

View File

@@ -69,7 +69,7 @@ public class DynamicCommentService extends CommunityBaseService {
*/
public Long publish(DynamicCommentPublishReq req) throws Exception {
//判断是否绑定手机号
validPhoneBind(req.getUid());
// validPhoneBind(req.getUid());
//判断动态是否正常
Dynamic dynamic = getDynamic(req.getDynamicId());
validDynamic(dynamic);
@@ -118,7 +118,7 @@ public class DynamicCommentService extends CommunityBaseService {
*/
public Long reply(DynamicCommentReplyReq req) throws Exception {
//判断是否绑定手机号
validPhoneBind(req.getUid());
// validPhoneBind(req.getUid());
//判断动态是否正常
Dynamic dynamic = getDynamic(req.getDynamicId());
validDynamic(dynamic);

View File

@@ -437,7 +437,7 @@ public class DynamicService extends CommunityBaseService {
*/
public int publish(DynamicPublishReq req) throws Exception {
//判断是否绑定手机号
validPhoneBind(req.getUid());
// validPhoneBind(req.getUid());
String lockKey = RedisKey.lock_community_dynamic_publish.getKey(String.valueOf(req.getWorldId()),
String.valueOf(req.getUid()));