diff --git a/app/portal/controller/PayController.php b/app/portal/controller/PayController.php
index 70248fc..bb0a3e8 100644
--- a/app/portal/controller/PayController.php
+++ b/app/portal/controller/PayController.php
@@ -261,7 +261,7 @@ class PayController extends HomeBaseController
 
                         }
                         //业务员商品老师购买
-                        if ($data_user['status'] == 3){
+                         elseif ($data_user['status'] == 3){
                             $teacher = $data_user['uid'];
                             $money = 0;
                             foreach ($data_indent_goods as $key => $val){