shish %!s(int64=5) %!d(string=hai) anos
pai
achega
0f207bc030
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/saas/controllers/ApplyController.php

+ 1 - 1
app/saas/controllers/ApplyController.php

@@ -44,7 +44,7 @@ class ApplyController extends BaseController
         $transaction = $connection->beginTransaction();
         $transaction = $connection->beginTransaction();
         try {
         try {
             ApplyService::updateById($id, ['status' => $status, 'remark' => $remark]);
             ApplyService::updateById($id, ['status' => $status, 'remark' => $remark]);
-            if ($status == 2) {
+            if ($status == 1) {
                 ApplyService::pass($id);
                 ApplyService::pass($id);
             }
             }
         } catch (\Exception $exception) {
         } catch (\Exception $exception) {