geek-pu

command module
v0.0.0-...-c62eee3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

README

微信小程序 - 极客电玩小铺

Introduction

功能

  • 游戏名称搜索
  • 游戏区域筛选
  • 微信通知订阅

Getting start

1. Check out the repository
❯ git clone https://github.com/dongweiming/geek-pu
2. 使用微信开发者工具打开该项目
3. 启动服务
❯ cd geek-pu
❯ go run manage.go initdb  # 初始化数据库
❯ cp config.toml.tmpl config.toml # 根据配置模板修改数据库配置
# 导入数据
❯ mysql -u USER -p DATABASE < database/data.sql
# 如果是自己的数据,可以通过manage.go创建,还可以加可选的 -v 增加商品说明
# go run manage.go add -t 马里奥派对 -c pd.jpg -r 2018-10-05 -s 9.1 -d 30245974 -a 美版 -l 简体中文 -p Switch
# go run manage.go update -p 2900 -i 14 -t 4
❯ go run server.go  # 启动服务, 当然也可以使用只对外用Nginx

Experience it

扫描下方小程序码可以进行体验

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL