|
@@ -89,8 +89,6 @@ namespace GFGGame
|
|
|
bool result = await PoemGallerySProxy.ReqCancelCollecteGalleryWorks(_galleryData.WorkId);
|
|
|
if (result)
|
|
|
{
|
|
|
- // _galleryData.CollectOrNot = false;
|
|
|
- // _galleryData.CollectCount = _galleryData.CollectCount - 1;
|
|
|
UpdateView();
|
|
|
}
|
|
|
}
|
|
@@ -99,8 +97,6 @@ namespace GFGGame
|
|
|
bool result = await PoemGallerySProxy.ReqCollecteGalleryWorks(_galleryData.WorkId);
|
|
|
if (result)
|
|
|
{
|
|
|
- // _galleryData.CollectOrNot = true;
|
|
|
- // _galleryData.CollectCount = _galleryData.CollectCount + 1;
|
|
|
UpdateView();
|
|
|
}
|
|
|
}
|
|
@@ -113,8 +109,6 @@ namespace GFGGame
|
|
|
bool result = await PoemGallerySProxy.ReqVoteGalleryWorks(_galleryData.WorkId);
|
|
|
if (result)
|
|
|
{
|
|
|
- // _galleryData.VoteOrNot = true;
|
|
|
- // _galleryData.CollectCount = _galleryData.CollectCount + 1;
|
|
|
UpdateView();
|
|
|
int Count = GameGlobal.myNumericComponent.GetAsInt(NumericType.LikeGalleryWorksCountDaily);
|
|
|
GalleryIntegralCfg integralCfg = GalleryIntegralCfgArray.Instance.GetCfg(Count);
|