From c2fa69ddcb8a05bdd006655a3ea95f5350ba4eac Mon Sep 17 00:00:00 2001 From: testadmin Date: Sun, 26 Apr 2026 20:23:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=A1=E9=AA=8C=20agent=5Ftype=20?= =?UTF-8?q?=E4=B8=8E=20pay=5Fchannel=20=E4=B8=80=E8=87=B4=E6=80=A7?= =?UTF-8?q?=EF=BC=8C=E9=98=B2=E6=AD=A2=E4=BA=BA=E5=B7=A5=E4=B8=8A=E5=88=86?= =?UTF-8?q?+=E5=9C=A8=E7=BA=BF=E6=B8=A0=E9=81=93=E9=94=99=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Agent.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/admin/controller/Agent.php b/application/admin/controller/Agent.php index e224bd1..a0b751e 100755 --- a/application/admin/controller/Agent.php +++ b/application/admin/controller/Agent.php @@ -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'=>'洗码方式错误'])); }