陈伟 9 months ago
commit 2576ec1180
  1. 2
      app/api/controller/User.php

@ -412,7 +412,7 @@ class User extends Controller
->select() ->select()
->toArray(); ->toArray();
foreach ($data as &$v) { foreach ($data as &$v) {
$v['url_path'] = $v['url'] ? $qrObj->getOtherQrcode((int)$storeId, $v['url']) : ''; $v['url_path'] = $v['url'] ? str_replace(root_path() . "public/", base_url(), $qrObj->getOtherQrcode((int)$storeId, $v['url'])) : '';
$tags[] = $v; $tags[] = $v;
} }
$item['tags'] = $tags; $item['tags'] = $tags;

Loading…
Cancel
Save