创建服务

    此方法允许创建新服务。

    此方法允许任何用户使用。可以在用户角色设置中撤销调用此方法的权限。更多信息请查看。

    Additionally to the , the method accepts the following parameters. 除standard service properties之外,该方法接受以下参数。

    返回一个serviceids属性包含被创建服务ID的对象。返回的ID顺序与传入服务的顺序一致。

    Creating an service 创建服务

    Response 响应:

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

    CService::create() 在 frontends/php/include/classes/api/services/CService.php