C# 不能获取空间图片?
通过系统提供的例子 获取图片
//生成base_url
string url = Qiniu.RS.GetPolicy.MakeBaseUrl(domian, key);
//生成fop_url
string imageInfoURL = ImageInfo.MakeRequest(url);
//对其签名,生成private_url。如果是公有bucket此步可以省略
imageInfoURL = GetPolicy.MakeRequest(imageInfoURL);
domian 设置为:
***
生成结果为
http://***.com/bubai?imageInfo&e=1442999422&token=9dGB-WvzlYIyu76Ycuo0oCzttHapywogj4k5C_jV:1iR32mpquAEKPqjPqmTPJU6e3Wk=
domian 设置为:
*** +".qiniudn.com"
生成结果为
http://***.qiniudn.com/bubai?imageInfo&e=1442999422&token=9dGB-WvzlYIyu76Ycuo0oCzttHapywogj4k5C_jV:1iR32mpquAEKPqjPqmTPJU6e3Wk=
两种方式 网址显示结果都为 :
“Not Found
The requested URL /bubai was not found on this server.”
应该怎么做才可以显示出图片?
wahaha
9 years, 5 months ago