.NET Core 二维码生成Demo
一、技术
.NET Core 3.1、QRCode
二、代码链接
https://github.com/David12138/QRCodeDemo.git
三、代码介绍
3.1、目录结构

3.2、接口类

3.3、实现类

3.4、控制器

3.5、startup配置

四、运行
运行路由:https://localhost:44304/api/qrcode?url=https://123.cn:5004&pixel=10

五、总结
这只是第一步基本的demo,需要考虑二维码过期,防篡改等内容。
浙公网安备 33010602011771号