Browse Source

improve api/addfav to support urlencoded share content

master
filesite 1 year ago
parent
commit
e6178dc634
  1. 2
      themes/tajian/controller/ApiController.php

2
themes/tajian/controller/ApiController.php

@ -58,6 +58,8 @@ Class ApiController extends SiteController {
if (empty($content)) { if (empty($content)) {
$code = 0; $code = 0;
$err = '请粘贴填写分享内容!'; $err = '请粘贴填写分享内容!';
}else {
$content = urldecode($content);
} }
$tagName = ''; $tagName = '';

Loading…
Cancel
Save