CACHE_KEY
CACHE_KEY = array(__CLASS__, 'order', 'user_money') : string
缓存的键列表
consume_give_user_credit_not_transaction(string $merchant_id, string $user_id, integer $money_fen, array $order_id, integer $order_action_user_id, string $order_comment, array $order_json, array $lock_ids) : boolean
[不开事务]商家向用户赠送用户积分
string | $merchant_id | 商家ID |
string | $user_id | 用户ID |
integer | $money_fen | 人民币,分 |
array | $order_id | 订单ID |
integer | $order_action_user_id | 订单操作人ID |
string | $order_comment | 订单注释 |
array | $order_json | 订单配置信息 |
array | $lock_ids | 锁ID |
consume_give_user_credit(string $merchant_id, string $user_id, integer $money_fen, array $order_id, integer $order_action_user_id, string $order_comment, array $order_json, array $lock_ids) : boolean
[另开事务]商家向用户赠送用户积分
string | $merchant_id | 商家ID |
string | $user_id | 用户ID |
integer | $money_fen | 人民币,分 |
array | $order_id | 订单ID |
integer | $order_action_user_id | 订单操作人ID |
string | $order_comment | 订单注释 |
array | $order_json | 订单配置信息 |
array | $lock_ids | 锁ID |