rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
07a7e38828
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']);