Laravel 接口返回Route [login] not defined

laravel使用jwt重定向login报错Route [login] not defined解决方法:在routes中给login加上路由命名Route::get('login', 'Api\AuthController@login...

导入SQL文件MySQL报1418错误的解决办法

MySQL导入时报错[ERR] 1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and bina...

Laravel 8 JWT身份验证

1、安装jwt-authcomposer require tymon/jwt-auth2、发布生成配置文件php artisan vendor:publish --provider="Tymon\JWTAuth\Provid...

Laravel 8 报异常Illuminate\Contracts\Container\BindingResolutionException Target class does not exist.

升级Laravel8.45新版后,报异常Illuminate\Contracts\Container\BindingResolutionException Target class does not exist.原因如下:Larave...

SpringBoot连接Sqlserver

1、pom.xml添加sqlserver驱动依赖 <dependency> <groupId>com.microsoft.sqlserver</groupId>...

执行jar提示没有主清单属性

在pom.xml 中添加mainClass解决 <build> <plugins> <plugin> <group...

SpringBoot开发非web项目

实现CommandLineRunner接口,重写run方法即可@SpringBootApplication public class Application implements CommandLineRunner { pub...

Laravel jwt 报错 Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given

通过php artisan jwt:secret解决报错,在.env文件中新增一行JWT_SECRET=secret

抖音API接口接入流程

1、获取授权码code请求参数client_key=********( 应用唯一标识)response_type=codescope=data.external.user,mobile_alert,item.comment,video...