shish 2 år sedan
förälder
incheckning
97bb62f4fe
1 ändrade filer med 2 tillägg och 3 borttagningar
  1. 2 3
      app-hd/controllers/GhsController.php

+ 2 - 3
app-hd/controllers/GhsController.php

@@ -60,9 +60,8 @@ class GhsController extends BaseController
         }
         $unique = "recharge_to_ghs_" . $id;
         $imgUrl = qrCodeUtil::generateRechargeQrCode($url, $unique);
-        echo $imgUrl;die;
-
-        util::success(['ghs' => $ghs, 'custom' => $custom]);
+        $imageUrl = imgUtil::groupImg($imgUrl);
+        util::success(['ghs' => $ghs, 'custom' => $custom, 'imgUrl' => $imageUrl]);
     }
 
     //获取物流列表 ssh 20230608