backup: 线上最终版本全量备份

包含所有线上运行的改动:
- 代理编辑功能修复(码率/占成/返水率保存)
- CORS跨域修复(Pcapi构造函数统一Origin)
- 支付通道(ccpay/epay新增)
- 代理报表洗码量显示
- AlinPay金额调整
- 代理/会员编辑页面优化
- 多语言更新
This commit is contained in:
OG Backup
2026-06-14 14:19:49 +08:00
parent 490df4c4c5
commit 171f8fce5c
25 changed files with 1570 additions and 247 deletions
+4
View File
@@ -200,6 +200,9 @@ class Agent extends Common{
if( empty($pay_channel) ){
die(json_encode(['code'=>0,'msg'=>'请选择支付渠道']));
}
if( $agent_type == 2 && $pay_channel != 'OPR' ){
die(json_encode(['code'=>0,'msg'=>'人工上分模式只能选OPR渠道']));
}
if( !in_array($type_xima,[1,2]) ){
die(json_encode(['code'=>0,'msg'=>'洗码方式错误']));
}
@@ -433,6 +436,7 @@ class Agent extends Common{
$data['price_tc_ths'] = $price_tc_ths;
$data['price_tc_hjths'] = $price_tc_hjths;
$data['area_id'] = 3;
$data['referral_code'] = getRandCode();
// $data['agent_commission_tc'] = $agent_commission_tc;
// $data['agent_commission_tc_banker'] = $agent_commission_tc_banker;