自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除