此方法允许更新现有的全局宏。

    要更新的。

    返回包含“globalmacroids”属性下更新的全局宏的ID的对象。

    Changing the value of a global macro

    Change the value of a global macro to “public”.

    Response:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. "1"
    5. ]
    6. },
    7. "id": 1

    CUserMacro::updateGlobal() in frontends/php/include/classes/api/services/CUserMacro.php.