shish пре 5 година
родитељ
комит
4e30065879
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      biz-hd/saas/services/ApplyService.php

+ 5 - 0
biz-hd/saas/services/ApplyService.php

@@ -151,6 +151,11 @@ class ApplyService extends BaseService
             \biz\admin\classes\AdminClass::updateById($adminId, ['openShop' => 2]);
         }
 
+        $id = $respond['id'] ?? 0;
+        if (!empty($id)) {
+            ApplyService::pass($id);
+        }
+
         return $respond;
     }