shares

功能

欢迎微信扫码体验

show

Vscode插件地址 复利备忘录

(插件市场搜索:复利备忘录)

安装

git clone git@github.com:xxjwxc/shares.git

cd shares
git submodule update --init --recursive

make run

部署运行

sudo ./shares install
sudo ./shares start

or

sudo ./shares stop
sudo ./shares run

proto配置新加接口

配置说明

目录位置 mysql

shares_tmp_db.sql(表结构&&数据)
shares_tmp_db_views.sql(views视图)
shares_tmp_db.sql.zip(两个sql的综合压缩文件)

    # 修改配置文件
    vim shares/conf/config.yml
base:
    is_dev : true
    serial_number : 1.0.0
    service_name : shares
    service_displayname : sharesserver
    sercice_desc : shares微服务
tools_type: 4 # 0:正式环境,1:日分析,2:抓取消息,3:放量,4:放量监听
db_info:
    port : 3306 # 端口号
    username : root # 用户名
    host :  localhost # 地址
    password : 123456 # 密码
    # host : localhost
    # password : qwer
    database : caoguo_dev # 数据库名
redis_info:
    addrs: ["127.0.0.1:6379"]
    password: 123456
    group_name: oauth2
    db: 0
etcd_info:
    addrs: ["127.0.0.1:2379"]
    timeout: 3
wx_info:
    app_id : wxxxxxxxxxxxx31a
    app_secret : xxxxxxxxxxxxxxxxxxxxxxxx
    api_key : xxxxxxxxxxxxxxxxxxx
    mch_id : xxxxxxxxx
    notify_url : http://www.localhost.com
    shear_url : 
port: 82
file_host: https://www.localhost.com/shares/api/v1
max_capacity : 5
def_group: 默认指标
ext : [sh,sz,hk]

传送门

实际效果图