|
@@ -65,10 +65,8 @@ namespace GFGGame
|
|
{
|
|
{
|
|
Texture2D tex = this.viewData as Texture2D;
|
|
Texture2D tex = this.viewData as Texture2D;
|
|
byte[] bytes = tex.EncodeToJPG();//将纹理数据,转化成一个jpg图片
|
|
byte[] bytes = tex.EncodeToJPG();//将纹理数据,转化成一个jpg图片
|
|
- string fileName = "wsj" + TimeHelper.ServerNowSecs + ".jpg";
|
|
|
|
-
|
|
|
|
|
|
|
|
- string[] rsp = await PoemPhotoSProxy.ReqTempPictureUrl(fileName);
|
|
|
|
|
|
+ string[] rsp = await PoemPhotoSProxy.ReqTempPictureUrl();
|
|
if (rsp == null) return;
|
|
if (rsp == null) return;
|
|
|
|
|
|
string code = PoemPhotoSProxy.PushToHWCloud(rsp[0], bytes);
|
|
string code = PoemPhotoSProxy.PushToHWCloud(rsp[0], bytes);
|