智简魔方文档

获取亏本交易拦截配置

方法概览

项目内容
文档类型PHP 类方法
方法标识app\common\model\ConfigurationModel::upstreamInterceptList
所属业务上下游
来源模块/系统用户模型

功能说明

获取亏本交易拦截配置

调用示例

$result = (new \app\common\model\ConfigurationModel())->upstreamInterceptList();

参数

该函数/方法无需传入参数。

返回值

返回项类型说明
upstream_intercept_new_order_notifyint新购通知管理员(0=否,1=是)
upstream_intercept_new_order_rejectint新购拒绝下单(0=否,1=是)
upstream_intercept_renew_notifyint续费通知管理员(0=否,1=是)
upstream_intercept_renew_rejectint续费拒绝下单(0=否,1=是)
upstream_intercept_upgrade_notifyint升降级通知管理员(0=否,1=是)
upstream_intercept_upgrade_rejectint升降级拒绝下单(0=否,1=是)

正常返回

{
  "upstream_intercept_new_order_notify": 1,
  "upstream_intercept_new_order_reject": 1,
  "upstream_intercept_renew_notify": 1,
  "upstream_intercept_renew_reject": 1,
  "upstream_intercept_upgrade_notify": 1,
  "upstream_intercept_upgrade_reject": 1
}

异常情况

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