http://apidoc.sinaapp.com/sae/SaeStorage.html。我在CustomImage.php里面封装了一个方法,本是想写一个CustomImage类,发现写出来错误好多,对PHP面向对象还是不熟悉。代码如下:
loadImagesByGroupName( = "your app's accessKey" = "your app's secretKey" = SaeStorage(, = "projectimages" = ->getListByPath(, = ["files" = ( = ."/". ["Name" = ->getUrl(, (, getMessage(); //} ?>
http://liminjun-projectimages.stor.sinaapp.com/avatar/my.png
'CustomImage.php'="itemImageList"> =loadImagesByGroupName("cokegame" (=0;<();++?> [] ?> alt="Coke Gaming Zone Preview Image"> ?> ="clearfix">
="clearfix">
http://liminjun.sinaapp.com
http://www.bkjia.com/PHPjc/626619.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/626619.htmlTechArticle。 首先看一下SAE的storage服务内容: loadImagesByGroupName( = "your app's accessKey" = "your app's secretKey" = SaeStorage( , = "projectimages" = -getListByPath( , = ["f...