Forráskód Böngészése

Merge branch 'dev/v1.2.6_wh' of SocialPlatform/messageCenter into feature/v1.2.6

王浩 2 éve
szülő
commit
9380e70086
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      service/message_mail_box.go

+ 2 - 2
service/message_mail_box.go

@@ -594,12 +594,12 @@ func UserSynchronousList(customerServiceId, userId, entId, messageId int64, crea
 	create_time := nowForm.Format(util.Date_Full_Layout)
 	//查看汇总表
 	data := IC.BaseMysql.FindOne(util.SOCIALIZE_SUMMARY, map[string]interface{}{"user_id": userId, "ent_id": entId}, "customer_service_access", "")
-	customer_service_access:=0
+	customer_service_access := 0
 	if data != nil && len(*data) > 0 {
 		if (*data)["customer_service_access"] == 0 && customerServiceId > 0 {
 			customer_service_access = 1
 		} else {
-			customer_service_access = quitl.Int64All((*data)["customer_service_access"])
+			customer_service_access = quitl.IntAll((*data)["customer_service_access"])
 		}
 		//更新汇总表
 		ok := int64(0)