- 博客(3)
- 收藏
- 关注
原创 golang实现6位数验证码发送
有时我们需要给用户发送验证码,但是手机短信验证会有成本,所以今天我在这里分享一下邮箱发送验证码的方法依赖包go get gopkg.in/gomail.v2详细代码下面的代码附有详细注释package mainimport ( "fmt" "log" "math/rand" "time" "gopkg.in/gomail.v2")// MailboxConf 邮箱配置type MailboxConf struct { /
2021-12-07 18:09:54
4176
原创 网关简单使用模拟后端请求
type Student struct { QQ string `json:"qq"` Name string `json:"name"`}type student struct { Message string `json:"message"` Statuscode int `json:"statuscode"` Data Student `json:"data"`}func Init(e *gin.Engine) { e.POST("/api/:na.
2021-11-13 10:19:26
454
原创 鼠标点击出现小心心
下面介绍一下我自己查阅资料以及某位大佬的博文进行总结的鼠标点击特效上源码 最主要的部分<template> <div> <div id="lovesBgc" ></div> <!-- 点击biubiubiu小心心 start--> <div v-for="(item,index) in loves" v-bind:key="index" v-bind:ref="loves[index].count" c...
2021-05-07 14:41:27
421
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅