/**
* 添加积分
* @param Integer $uids: 用户uid或者uid数组
* @param String $dataarr: 积分操作数组
* @param Boolean $checkgroup: 是否检查用户组 true or false
* @param String $operation: 操作类型
* @param Integer $relatedid:
* @param String $ruletxt: 积分规则文本
* @param String $customtitle: 自定义积分记录标题
* @param String $custommemo: 自定义积分记录说明
*/
function updatemembercount($uids, $dataarr = array(), $checkgroup = true, $operation = '', $relatedid = 0, $ruletxt = '', $customtitle = '', $custommemo = '') {
if(!empty($uids) && (is_array($dataarr) && $dataarr)) {
require_once libfile('function/credit');
return _updatemembercount($uids, $dataarr, $checkgroup, $operation, $relatedid, $ruletxt, $customtitle, $custommemo);
}
return true;
}