shish 2 years ago
parent
commit
c70548c553
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app-hd/controllers/GhsController.php

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

@@ -59,9 +59,9 @@ class GhsController extends BaseController
             $url = "https://mall.huaml.com/#/admin/ghs/pay?id={$id}&salt={$salt}";
         }
         $unique = "recharge_to_ghs_" . $id;
-//        $imgUrl = qrCodeUtil::generateRechargeQrCode($url, $unique);
-//        $imageUrl = imgUtil::groupImg($imgUrl);
-        $imageUrl = '';
+        $imgUrl = qrCodeUtil::generateRechargeQrCode($url, $unique);
+        $imageUrl = imgUtil::groupImg($imgUrl);
+        //$imageUrl = '';
         util::success(['ghs' => $ghs, 'custom' => $custom, 'imgUrl' => $imageUrl]);
     }