wysf
bruce 9 months ago
parent d5f31e75ba
commit 95758960cb
  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