CACHE_KEY
CACHE_KEY = array(__CLASS__, "merchant_credit", "merchant_money", "user_credit", "user_money_share", "user_money_annuity", "user_money_earning", "user_money_help", "user_money_service", "user_money") : string
缓存的键列表
insert_user_money_earning_withdraw(array $data) : boolean
用户的赠送收益提现
$data = array( "user_id" //用户ID、操作用户 "comment" //备注信息 "user_money_service_money_fen" //用户服务费 "withdraw_money_fen" //用户提现费用 "withdraw_method" //提现方式 "order_json" //基础配置信息 "pay_config" //支付配置 "user_money_earning" //用户的赠送收益 旧数据 )
array | $data |
| order_id
update_pay_success(string $order_id, string $order_plus_transaction_id, string $order_minus_transaction_id, array $order_json = array()) : boolean
支付成功
string | $order_id | 订单ID |
string | $order_plus_transaction_id | 收款交易号 |
string | $order_minus_transaction_id | 支付交易号 |
array | $order_json |
select_page(array $config = array()) : array
----- Mr.Zhao ----- 2019.06.06 -----
获取所有分页数据 $config = array( 'where' => array(), //条件 'orderby' => array(), //排序 'limit' => array(0, page_size), //取出条数,默认获取10条 );
limit的分页算法是:当前页数-1 * page_size 序号的算法:key键+1,+每页显示的条数。等于分页后的序号。{key + 1 + page_size}
返回的数据: $data = array( 'row_count' => //数据总条数 'limit_count' => //已取出条数 'page_size' => //每页的条数 'page_count' => //总页数 'page_now' => //当前页数 'data' => //数据 );
array | $config | 配置信息 |