rabin 3 years ago
parent
commit
07a7e38828
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/agent/lib/Manage.php

+ 1 - 1
service/agent/lib/Manage.php

@@ -600,7 +600,7 @@ class Manage
             }
 
             $status = Dever::param('status', $data);
-            if ($status == 2) {
+            if ($status) {
                 $role = Dever::db('setting/role')->find($order['role']);
                 if ($role && $role['type'] == 2) {
                     Dever::load('agent/lib/order')->checkArea($order['area'], $order['role'], $order['mid']);