浏览代码

no message

xingzai 1 年之前
父节点
当前提交
49a085e9ee
共有 1 个文件被更改,包括 6 次插入6 次删除
  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 = "获取成功"