Ver código fonte

Merge branch 'v4.9.6_ws' of qmx/jy into feature/v4.9.6

fuwencai 1 ano atrás
pai
commit
8fdeb5a3bc

+ 1 - 1
src/jfw/modules/bigmember/src/service/follow/enterprise.go

@@ -180,7 +180,7 @@ func (this *FollowEnt) AddFollow() {
 	if errMsg != nil {
 		log.Printf("%s 添加关注企业出错:%s\n", userId, errMsg.Error())
 	}
-	if rData != nil && errMsg.Error() != "" {
+	if rData != nil && errMsg != nil && errMsg.Error() != "" {
 		this.ServeJson(Result{
 			Error_code: 0,
 			Error_msg:  errMsg.Error(),