多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
| 标题 | 名称 | 钩子描述 | | --- | --- | --- | | 提现申请 | withdrawal_apply | 在提现申请成功调用 | | 提现打款 | withdrawal_success | 当管理员同意了提现申请时调用该钩子 | | 积分兑换 | exchange_point| 当积分兑换成功后调用该钩子 | | 积分变动 | change_point| 当会员积分变动时调用该钩子 | >申请提现 ``` function functionName($userInfo,$data) ``` >[info]$userInfo 会员信息 ,请到会员碎片[查看](1230254) $data 申请提现的信息 >$data数据 ``` [ 'point_type' => 'point', 'point_name'=>'积分名称', 'point_unit' => '点', 'point_decimal' => 2, 'point' => 100, 'proceduresType' => 1, 'proceduresNum' => 5, 'ratio' => 0.1, 'account' =>10, ] ``` | 参数名称 | 描述 | | --- | --- | | point_type | 提现积分的类型 | | point_name| 提现积分的名称 | | point_unit| 提现积分的单位 | | point_decimal| 提现积分的小数位数 | | point| 提现积分的金额 | | proceduresType| 手续费类型 0:固定数字,1:百分比 | | proceduresNum | 手续费数额 ,注意手续费为额外扣 | | ratio| 提现比率,如提现100个积分时到账现金为 100* 0.1( ratio),实际现金为10元 | | account| 实际到账金额 | >提现打款 ``` function functionName($userInfo,$data) ``` >[info]$userInfo 会员信息 ,请到会员碎片[查看](1230254) $data提现打款信息 >$data数据 ``` [ 'point_type' => 'point', 'point_name'=>'积分名称', 'point_unit' => '点', 'point_decimal' => 2, 'point' => 100, 'proceduresType' => 1, 'proceduresNum' => 5, 'ratio' => 0.1, 'account' =>10, ] ``` | 参数名称 | 描述 | | --- | --- | | point_type | 提现积分的类型 | | point_name| 提现积分的名称 | | point_unit| 提现积分的单位 | | point_decimal| 提现积分的小数位数 | | point| 提现积分的金额 | | proceduresType| 手续费类型 0:固定数字,1:百分比 | | proceduresNum | 手续费数额 ,注意手续费为额外扣 | | ratio| 提现比率,如提现100个积分时到账现金为 100* 0.1( ratio),实际现金为10元 | | account| 实际到账金额 | >积分兑换 ``` function functionName($userInfo,$data) ``` >[info]$userInfo 会员信息 ,请到会员碎片[查看](1230254) $data 积分兑换信息 >$data数据 ``` [ 'point_type_' => 'point', 'point_name_'=>'积分名称', 'point_unit_' => '点', 'point_decima_l' => 2, 'point' => 100, 'point_type' => 'money', 'point_name'=>'资金', 'point_unit' => '点', 'point_decimal' => 2, 'ratio' => 0.1, ] ``` | 参数名称 | 描述 | | --- | --- | | point_type_ | 要兑换的积分的类型 | | point_name_| 要兑换的积分的名称 | | point_unit_| 要兑换的积分的单位 | | point_decimal_| 要兑换的积分的小数位数 | | point| 兑换积分的金额 | | point_type | 被兑换积分的类型 | | point_name| 被兑换积分的名称 | | point_unit| 被兑换积分的单位 | | point_decimal| 被兑换积分的小数位数 | | ratio| 兑换比率,如将100个积分兑换成资金,到账资金为为 100* 0.1( ratio) | >积分变动 ``` function functionName($userInfo,$data) ``` >[info]$userInfo 会员信息 ,请到会员碎片[查看](1230254) $data 积分变动信息 >$data数据 ``` [ 'point' => 10, 'point1'=>-20, ] ``` | 参数名称 | 描述 | | --- | --- | | point| 积分标识,标识对应的值为该积分对应的金额,整数标识增加,负数表示减少 |