钩子名称

pay_success


参数介绍

Array
(
    [id] => 446
    [mid] => 1_shop-61-40-1-null
    [uid] => 1
    [username] => dayrui
    [touid] => 4310
    [tousername] => test
    [title] => 点赞
    [value] => -10.00
    [type] => finecms
    [status] => 1
    [result] => 
    [paytime] => 1481445838
    [inputtime] => 1481445838
    [url] => http://www.xunruicms.com/index.php?s=shop&c=show&id=61
)




用法举例

/config/hooks.php

\Phpcmf\Hooks::on('pay_success', function() {
    
    
}