コード例 #1
0
ファイル: testFullApi.php プロジェクト: hzshark/cloudharddisk
     echo 'url=>' . $res_ver->url;
     echo "<br />";
     echo 'version=>' . $res_ver->version;
     echo "<br />";
     echo 'whatsnew=>' . $res_ver->whatsnew;
     echo "<br />";
 } else {
     echo "<b>getver is error. </b>";
     echo $res_ver->result->msg;
     echo "<br />";
 }
 echo "<br />";
 echo "<br />";
 echo "test queryHelp interface...";
 echo "<br />";
 $help_ret = $client->queryHelp();
 if ($help_ret->result->ret == $SUCCESS) {
     echo "query help is ok. ";
     echo "queryhelp return value:";
     var_dump($help_ret->msg);
     echo "<br />";
 } else {
     echo "<b>queryhelp is error. </b>";
     echo $res_ver->result->msg;
     echo "<br />";
 }
 echo "<br />";
 echo "<br />";
 echo "test queryApps interface...";
 echo "<br />";
 $app_ret = $client->queryApps();