waynesun01
waynesun01
- Laravel Version: 8.65 - PHP Version: 7.4.3 - Dcat Admin Version: 2.1.7-beta ### Description: dcatadmin使用腾讯地图不支持地点搜索提示,尝试修改map.blade发现腾讯地图jsapi官方已不再维护,搜索地点不会返回结果。 服务类API 将在 2020-04-22 停止新用户接入,文档同步下线,已接入用户不受影响,新用户请使用功能更为丰富的 WebServiceAPI (涉及命名空间:qq.maps.SearchService,qq.maps.TransferService,qq.maps.LineService,qq.maps.StationService,qq.maps.DrivingService,qq.maps.Geocoder,qq.maps.CityService) 腾讯地图官方提供了jsapi GL的接口 https://lbs.qq.com/webDemoCenter/glAPI/glServiceLib/suggestion 可以实现搜索提示 我尝试改了map.blade.php,实现了地点搜索的功能,供参考,希望官方下个版本能支持腾讯地图搜索地点的功能 ### Steps To...
按照文档和代码,到最后启动服务时出现如下错误 : No such file or directorye/data/PHPTest.PHPHttpServer/bin/src/index.php: line 1: ?php /usr/local/app/tars/tarsnode/data/PHPTest.PHPHttpServer/bin/src/index.php: line 2: require_once: command not found /usr/local/app/tars/tarsnode/data/PHPTest.PHPHttpServer/bin/src/index.php: line 2: $'\r': command not found /usr/local/app/tars/tarsnode/data/PHPTest.PHPHttpServer/bin/src/index.php: line 3: use: command not...
@php think service:discover Fatal error: Uncaught Error: Call to undefined method think\Console::addDefaultCommands() in D:\phpstudy_pro\WWW\virtually\server\vendor\topthink\think-queue\src\common.php:12 Stack trace: #0 D:\phpstudy_pro\WWW\virtually\server\vendor\composer\autoload_real.php(41): require() #1 D:\phpstudy_pro\WWW\virtually\server\vendor\composer\autoload_real.php(45): {closure}() #2 D:\phpstudy_pro\WWW\virtually\server\vendor\autoload.php(25): ComposerAutoloaderInitd2a74ba94e266cc4f45a64c54a292d7e::getLoader() #3 D:\phpstudy_pro\WWW\virtually\server\think(7): require('...') #4 {main}...