PHPCMS V9帮助中心
PHPSSO
PHPSSO函数参考

ps_changecredit

说明

   兑换积分, 用于何其他应用之间积分兑换

resource ps_changecredit($uid, $from, $toappid, $to, $credit)

参数

int $uid   phpssouid

int $from   本系统积分类型id

int $toappid   目标系统应用appid

int $to   目标系统积分类型id

int $credit  本系统扣除积分数

返回值

return bool    {1:成功;0:失败}

Example

<?php

$status = $this->client->ps_changecredit($memberinfo['phpssouid'], $from, $toappid, $to, $fromvalue);

?>

回到顶部↑ 返回到PHPSSO