|
@@ -581,13 +581,13 @@ namespace GFGGame
|
|
|
.SetLeftButton(true, "否").SetRightButton(true, "是", async (object data) =>
|
|
|
{
|
|
|
ViewManager.Show<ModalStatusView>("上传中...");
|
|
|
- string[] rsp = await PoemGallerySProxy.ReqUpLoadGalleryWorks();
|
|
|
+ object[] rsp = await PoemGallerySProxy.ReqUpLoadGalleryWorks();
|
|
|
if (rsp == null) return;
|
|
|
byte[] bytes = tex.EncodeToJPG();
|
|
|
- bool pushResult = await PictureStorageHelper.PushToHWCloud(rsp[0], bytes);
|
|
|
+ bool pushResult = await PictureStorageHelper.PushToHWCloud(rsp[0].ToString(), bytes);
|
|
|
if (!pushResult) return;
|
|
|
|
|
|
- bool result = await PoemGallerySProxy.ReqNoticeGalleryWorksUploaded(int.Parse(rsp[1]));
|
|
|
+ bool result = await PoemGallerySProxy.ReqNoticeGalleryWorksUploaded((long)(rsp[1]));
|
|
|
if (result)
|
|
|
{
|
|
|
ViewManager.Hide<ModalStatusView>();
|