0) { $v = $ac == 'inc' ? $_GET['value'] : -$_GET['value']; $log = lang('plugin/wechat', 'wsq_apicredit_log_'.$ac); updatemembercount(array($_G['uid']), array($extcredit => $v), true, '', 0, '', $log); $data = C::t('common_member_count')->fetch($_G['uid']); $return['extcredit'] = $data[$extcredit]; } elseif($ac == 'get') { $return['extcredit'] = getuserprofile($extcredit); } mobile_core::result(mobile_core::variable($return)); } function output() { } } ?>