文档手册

qbooo 下载积分充值套餐价格

2024-12-19 20:32:47


/htdocs/dayrui/App/Pay/Models/Pay.php




// 金币充值
            case 'score':
                if (!$post['uid']) {
                    return dr_return_data(0, dr_lang('付款账号不存在'));
                }
                $money = (int)$post['money'];
                if (\Phpcmf\Service::C()->member_cache['pay']['score_min'] && $money < \Phpcmf\Service::C()->member_cache['pay']['score_min']) {
                    return dr_return_data(0, dr_lang('系统最小充值%s为%s', SITE_SCORE, \Phpcmf\Service::C()->member_cache['pay']['score_min']));
                } elseif ($money == 0) {
                    return dr_return_data(0, dr_lang('金额不规范'));
                }
                $title = dr_lang('用户(%s)充值%s:%s', $post['username'], SITE_SCORE, $money);
                $touid = 0; // 属于消费,收款方为系统
                $tousername = '';

                //九戒织梦,固定积分值价格修改
                if($money = 100){ $money = 9.9 ;}
                else if($money = 1588){ $money = 128 ;}
                else if($money = 5000){ $money = 368 ;}
                else if($money = 12666){ $money = 888 ;}
                //$money = - $money / \Phpcmf\Service::C()->member_cache['pay']['convert'];
                break;