Browse Source

no message

xingzai 1 year ago
parent
commit
49a085e9ee
1 changed files with 6 additions and 6 deletions
  1. 6 6
      controllers/collection.go

+ 6 - 6
controllers/collection.go

@@ -66,12 +66,12 @@ func (this *CollectionController) Detail() {
 		return
 	}
 	resp := new(models.CollectionDetailResp)
-	if user.Mobile != "" {
-		userTokenByMobile, _ := services.GetUserTokenByMobile(user.Mobile)
-		resp.HttpUrl = utils.COLLECTIONS_INFO_HTTP_URL + "?token=" + userTokenByMobile
-	} else {
-		resp.HttpUrl = utils.COLLECTIONS_INFO_HTTP_URL
-	}
+	//if user.Mobile != "" {
+	//	userTokenByMobile, _ := services.GetUserTokenByMobile(user.Mobile)
+	//	resp.HttpUrl = utils.COLLECTIONS_INFO_HTTP_URL + "?token=" + userTokenByMobile
+	//} else {
+	//	resp.HttpUrl = utils.COLLECTIONS_INFO_HTTP_URL
+	//}
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "获取成功"