龙虎赌博

This is the documentation page for an unsupported version of 龙虎赌博.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

image.delete

説明

object image.delete(array imageIds)

このメソッドは、画像を削除することができます。

このメソッドは、Super adminタイプのユーザーのみ利用可能です。メソッドを呼び出す権限は、ユーザーの役割の设定で取り消すことができます。詳細はユーザーの役割を参照してください。

パラメーター

(array) 削除する画像の滨顿。

戻り値

(object) imageidsプロパティの下にある削除された画像の滨顿を含むオブジェクトを返します。

复数の画像の削除

2つの画像を削除します。

リクエスト:

{
           "jsonrpc": "2.0",
           "method": "image.delete",
           "params": [
               "188",
               "192"
           ],
           "id": 1
       }

レスポンス:

{
           "jsonrpc": "2.0",
           "result": {
               "imageids": [
                   "188",
                   "192"
               ]
           },
           "id": 1
       }

ソース

CImage::delete() in ui/include/classes/api/services/CImage.php.