From b03775ca5d6643e3568b3fb75b75bbdb783e2d2c Mon Sep 17 00:00:00 2001 From: aarongao Date: Wed, 18 Mar 2020 16:11:11 +0800 Subject: [PATCH] . --- Config/config.go | 1 + Config/config.json | 3 ++- README.md | 2 +- Version.md | 15 ++++++++------- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Config/config.go b/Config/config.go index 659cb61..b4f4205 100644 --- a/Config/config.go +++ b/Config/config.go @@ -10,6 +10,7 @@ type Config struct { Env string TokenSecret string ServerPort string + Version string } var Info = Config{} diff --git a/Config/config.json b/Config/config.json index 4a1efed..4ae3cce 100644 --- a/Config/config.json +++ b/Config/config.json @@ -7,5 +7,6 @@ "redisPath": "127.0.0.1:6379", "Env": "DEV", "tokenSecret": "token.secret", - "ServerPort": ":8080" + "ServerPort": ":8080", + "Version": "v1.1" } diff --git a/README.md b/README.md index 69a2358..ff9f8a3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ | Specification | Value | |-----|-----| | API Version | 1.0.0 | -| BasePath | 正式 leyoutu.st-i.com.cn; 测试 letu.api.imagchina.com | +| BasePath | 正式 leyoutu.st-i.com.cn; 测试 leyoutu.sti-uat.com | diff --git a/Version.md b/Version.md index 2e342f5..6f3c07c 100644 --- a/Version.md +++ b/Version.md @@ -6,13 +6,14 @@ ##### 变更说明: -1. /UserInfo接口增加权限验证(需要携带Token),游客和操作员看到的信息内容不一样 +1. /UserInfo接口增加权限验证(需要携带Token),区分游客和操作员 2. -##### 开发&发布流程: +##### 发布流程: + +1. 提交APP代码到git(v1.1分支) +2. 使用 “测试环境地址” 打包内测版本至TestFlight +3. 升级 ”生产环境“ 接口至v1.1 +4. 使用 “生产环境地址” 打包公测版本至TestFlight +5. 发布至商店 -1. 提交代码到git(v1.1分支) -2. 编译为内测版本至TestFlight,并附带升级明细 -3. 合并master分支 -4. 修改正式接口地址并编译为公测版本至TestFlight -5. 发布至商店 \ No newline at end of file -- libgit2 0.21.0