智简魔方文档

上游同步产品信息到下游

方法概览

项目内容
文档类型PHP 类方法
方法标识common::upstream_sync_host
所属业务上下游
来源模块/系统公共函数

功能说明

上游同步产品信息到下游

调用示例

$host_id = 1;
$action = 'string';
$result = upstream_sync_host($host_id, $action);

参数

参数类型必填默认值校验规则说明
host_idint财务产品ID
actionstring动作module_create模块开通module_suspend模块暂停module_unsuspend模块解除暂停module_terminate模块删除update_host修改产品delete_host删除产品host_renew产品续费

返回值

未声明固定返回值。

正常返回

{}

异常情况

异常类型说明
Throwable调用失败时由具体实现抛出异常,异常信息以运行时结果为准。