PHP Class CreditApi, thinksns

Author: jeremy
Mostrar archivo Open project: medz/thinksns-4 Class Usage Examples

Public Methods

Method Description
alipayNotify ( ) 支付的回调不能跳转 输出success 给支付宝
checkChage ( ) 客户端拿到订单号 检查订单状态
createCharge ( ) * 充值,创建一个订单
createChargeIOS ( ) * ios 充值 直接返回一个url
credit_my ( ) : integer 获取当前用户积分 --using
detail ( ) * 积分详情
get_charge ( )
rule ( ) * 积分规则
saveCharge ( ) 这个类里的参数返回跟其他接口不一致、、、mesage.
save_charge ( ) ?? 啥用的 -> 谢伟20150925
setCredit ( ) * 设置用户积分
transfer ( ) * 积分转账
weixinNotify ( ) 微信验证方法

Private Methods

Method Description
setWXsign ( $param, $wxkey ) 微信sign加密方法

Method Details

alipayNotify() public method

支付的回调不能跳转 输出success 给支付宝
public alipayNotify ( )

checkChage() public method

客户端拿到订单号 检查订单状态
public checkChage ( )

createCharge() public method

* 充值,创建一个订单
public createCharge ( )

createChargeIOS() public method

* ios 充值 直接返回一个url
public createChargeIOS ( )

credit_my() public method

获取当前用户积分 --using
public credit_my ( ) : integer
return integer 用户积分

detail() public method

* 积分详情
public detail ( )

get_charge() public method

public get_charge ( )

rule() public method

* 积分规则
public rule ( )

saveCharge() public method

.
public saveCharge ( )

save_charge() public method

?? 啥用的 -> 谢伟20150925
public save_charge ( )

setCredit() public method

* 设置用户积分
public setCredit ( )

transfer() public method

* 积分转账
public transfer ( )

weixinNotify() public method

微信验证方法
public weixinNotify ( )