白酒新熟山中归,黄鸡啄黍秋正肥。 呼童烹鸡酌白酒,儿女嬉笑牵人衣。 高歌取醉欲自慰,起舞落日争光辉。 游说万乘苦不早,著鞭跨马涉远道。 会稽愚妇轻买臣,余亦辞家西入秦。 仰天大笑出门去,我辈岂是蓬蒿人。
摘要: <el-form-item prop="" label="幻灯图"> <el-upload :name="'attachment'" :action="uploaderRequestUrl" list-type="picture-card" :on-preview="handlePreview" : 阅读全文
posted @ 2021-01-12 15:52 格罗玛什·地狱咆哮 阅读(161) 评论(1) 推荐(0) 编辑
摘要: 参数1 :lat参数2:lng参数3: lat参数4: 城市码(可无)参数5:限制?公里内参数6:限制查询的数量 1 sqlStr := `SELECT 2 id,longitude,latitude,institution_name,intro,mobile,address,cover, 3 ( 阅读全文
posted @ 2021-01-08 10:26 格罗玛什·地狱咆哮 阅读(619) 评论(0) 推荐(0) 编辑
摘要: package helper import ( "github.com/gogf/gf/os/gtime" "time" ) const ( DateFormat = "2006-01-02" DateTimeFormat = "2006-01-02 15:04:05" PHPDateForm = 阅读全文
posted @ 2020-11-04 11:57 格罗玛什·地狱咆哮 阅读(356) 评论(2) 推荐(0) 编辑
摘要: // 手机号中间4位替换为*号 func FormatMobileStar(mobile string) string { if len(mobile) <= 10 { return mobile } return mobile[:3] + "****" + mobile[7:] } 阅读全文
posted @ 2020-11-03 09:02 格罗玛什·地狱咆哮 阅读(2218) 评论(0) 推荐(0) 编辑
摘要: 1、nginx server { add_header 'Access-Control-Allow-Methods' 'POST,GET,OPTIONS,PUT,DELETE,PATCH'; # add_header 'Access-Control-Allow-Credentials' 'false 阅读全文
posted @ 2020-10-28 12:01 格罗玛什·地狱咆哮 阅读(276) 评论(0) 推荐(0) 编辑
摘要: func (s *Service) getLastMonthStartEnd() (int64, int64) { now := time.Now() env := g.Cfg().GetString("bonus.env") var start, end time.Time if env == " 阅读全文
posted @ 2020-09-23 10:08 格罗玛什·地狱咆哮 阅读(1766) 评论(0) 推荐(1) 编辑
摘要: func (s *Service) getLastMonthStartEnd() (int64, int64) { now := time.Now() lastMonthFirstDay := now.AddDate(0, -1, -now.Day()+1) lastMonthStart := ti 阅读全文
posted @ 2020-09-21 16:54 格罗玛什·地狱咆哮 阅读(3267) 评论(0) 推荐(0) 编辑
摘要: # 安装 #### 进入 /usr/local ```cd /usr/local``` #### 下载```sudo curl -O https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-4.0.9.tgz```#### 解压```sudo ta 阅读全文
posted @ 2020-06-18 10:57 格罗玛什·地狱咆哮 阅读(256) 评论(0) 推荐(0) 编辑
摘要: an := g.Map{ "1": "A", "2": "B", "3": "C", "4": "D", "0": "E", } jj := map[string]string{} for i := 1; i <= 67; i++ { rnadm := rand.Intn(5) jj[gconv.S 阅读全文
posted @ 2020-06-09 17:16 格罗玛什·地狱咆哮 阅读(490) 评论(0) 推荐(0) 编辑
摘要: git config core.filemode false 阅读全文
posted @ 2020-05-13 08:51 格罗玛什·地狱咆哮 阅读(101) 评论(1) 推荐(0) 编辑

君不见黄河之水天上来,奔流到海不复回。
君不见高堂明镜悲白发,朝如青丝暮成雪。
人生得意须尽欢,莫使金樽空对月。
天生我材必有用,千金散尽还复来。
烹羊宰牛且为乐,会须一饮三百杯。
岑夫子,丹丘生,将进酒,君莫停。
与君歌一曲,请君为我侧耳听。
钟鼓馔玉何足贵,但愿长醉不复醒。
古来圣贤皆寂寞,惟有饮者留其名。
陈王昔时宴平乐,斗酒十千恣欢谑。
主人何为言少钱,径须沽取对君酌。
五花马,千金裘,呼儿将出换美酒,与尔同销万古愁。