lyh 2 سال پیش
والد
کامیت
2970100512
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      app/Services/Api/MerchantService.php

+ 4 - 1
app/Services/Api/MerchantService.php

@@ -655,7 +655,10 @@ class MerchantService extends BaseService
             $this->error = 2024;
             return false;
         }
-
+        return [
+            '$userInfo'=> $userInfo,
+            '$merchant'=> $merchant,
+        ];
         if($userType == 2 && (empty($merchant) || !in_array($merchantTradeStatus,[1,2]))){
             $this->error = 2024;
             return false;