audit and harden workspace

This commit is contained in:
2026-08-10 11:42:45 +08:00
parent c883cc52a2
commit 1a1fa521c0
140 changed files with 640 additions and 475 deletions

172
README.md
View File

@@ -1,134 +1,70 @@
# BSM Infra Full
BSM 后端服务 Go workspace包含基础能力、电商、财务、社交服务,以及可选择组件运行的单体入口。所有模块统一使用 **Go 1.26.5**
BSM 后端服务 Go workspace包含 19 个独立业务模块和一个统一端口运行的 all 聚合模块。Go 版本为 1.26.5。
## 目录结构
## 快速开始
| 目录 | 服务 |
| --- | --- |
| `module/base` | ads、cloud、cms、feedback、fts、initial、logs、mgt、passport、sender |
| `module/ec` | address、delivery、mall、market、order |
| `module/finance` | wallet |
| `module/social` | feed、group、relation |
| `cmd` | 聚合上述服务的单体启动器 |
| `go.work` | 19 个 Go 模块的 workspace 定义 |
Windows
各服务的接口、配置和部署细节见对应 `module/**/README.md`
## 环境要求
- Go 1.26.5
- Git
- 按所运行服务准备 PostgreSQL、Redis、etcd、MQ 或对象存储等外部依赖
- 重新生成 protobuf 时,需要在系统 `PATH` 中安装 `protoc``protoc-gen-go``protoc-gen-go-grpc``protoc-gen-grpc-gateway``protoc-gen-slc`
确认工具链:
```bash
go version
go work sync
```
统一重新生成 protobuf
```bash
bash scripts/generate-protobuf.sh
```
脚本读取每个服务的 `proto/` 目录,将模块本地的 `const.proto` 与业务 proto 一起生成 protobuf、gRPC 和 grpc-gateway 代码;默认还会运行 `protoc-gen-slc`。如仅需刷新 protobuf 代码,可设置 `GENERATE_SLC=0`
更新所有 workspace 模块的依赖:
```bash
bash scripts/update-all.sh
```
脚本会为每个模块执行 `go get -u ./...``go mod tidy`,最后运行 `go work sync`;它不会自动提交或推送 Git 变更。
编译全部 19 个独立服务:
```bash
bash scripts/build-all-linux.sh
```
脚本固定交叉编译 Linux x86-64`GOOS=linux``GOARCH=amd64``CGO_ENABLED=0`),产物写入 `.builds/<领域>-<模块>`。全部模块编译成功后,各模块的 `etc/*_prod.yaml` 会复制到 `.builds/etc/``.builds/` 已加入 `.gitignore`,聚合入口 `cmd` 不包含在批量构建中。
## 配置
每个服务的 `etc/` 目录包含 `*_dev.yaml``*_test.yaml``*_prod.yaml` 示例。提交到仓库的配置只能包含占位值;请在本地副本或部署系统的密钥管理中注入真实凭据,不要提交数据库密码、访问密钥、令牌或私钥。
本仓库审计时已移除过明文凭据。如果这些凭据曾在真实环境使用应立即在数据库、SMTP、对象存储及相关服务侧轮换。
## 运行
运行单个服务时,进入其模块目录。例如:
```bash
cd module/base/passport
go run ./cmd/main
```
运行聚合入口:
```bash
cd all
go run ./cmd/main
```
`all/etc/all_dev.yaml` 统一配置监听端口、数据库、Redis 以及 `Services.<name>` 服务专属配置。聚合入口在同一端口通过 h2c 同时承载 gRPC、HTTP Gateway 和 Gin 路由。可以使用 `BSM_SERVICES` 临时覆盖启用的服务:
```bash
# Linux/macOS
BSM_SERVICES=passport,order,wallet go run ./main
# PowerShell
$env:BSM_SERVICES = "passport,order,wallet"
go run ./main
```
可选组件为:`ads``cloud``cms``feedback``fts``initial``logs``mgt``passport``sender``address``mall``market``order``wallet`。社交服务目前作为独立模块运行,尚未接入聚合入口。
## 测试
根目录不是 Go module因此不要在根目录执行 `go test ./...`。应逐 workspace 模块测试。
PowerShell
```powershell
go list -m -f '{{.Dir}}' | ForEach-Object {
Push-Location $_
try { go test ./... } finally { Pop-Location }
}
```
go work sync
./scripts/verify-workspace.ps1
Linux/macOS
```bash
go list -m -f '{{.Dir}}' | while IFS= read -r module; do
(cd "$module" && go test ./...)
done
```
go work sync
./scripts/verify-workspace.sh
依赖运行中服务或真实基础设施的测试带有 `integration` build tag默认测试不会访问外部系统。准备好测试环境和对应的 `BSM_*_TOKEN` 等变量后,在目标模块显式运行:
运行独立服务
```bash
go test -tags=integration ./...
```
cd module/base/passport
go run ./cmd/main
建议提交前执行
运行聚合服务
```bash
gofmt -w .
go vet ./...
go test ./...
```
cd all
go run ./cmd/main --workspace=default
最后两条命令需在每个模块目录执行,可使用上面的 workspace 循环
all 默认读取 all/etc/default_<runtime>.yaml。指定 --workspace=tenant01 时,开发模式读取 all/etc/tenant01_dev.yaml。workspace 仅允许字母、数字、下划线和连字符,最长 64 个字符
## 模块
| 领域 | 模块 |
| --- | --- |
| module/base | ads、cloud、cms、feedback、fts、initial、logs、mgt、passport、sender |
| module/ec | address、mall、market、order |
| module/finance | wallet |
| module/social | feed、group、relation |
| all | 聚合 15 个 base/ec/finance 服务,统一提供 gRPC、grpc-gateway 和 Gin HTTP |
Services 配置决定 all 启用哪些服务BSM_SERVICES 环境变量可临时覆盖,例如 passport,order,wallet。
## 配置安全
仓库内 YAML 仅为结构示例,凭据使用 CHANGE_ME。部署时必须通过密钥管理或发布系统注入真实值禁止提交密码、令牌、私钥和云密钥。
生产环境至少应替换全部 CHANGE_ME关闭公网数据库/Redis/etcd评估关闭 gRPC reflection保持 mgt.InitRootUser=false并在入口层启用 TLS 和访问控制。
## 常用脚本
| 脚本 | 用途 |
| --- | --- |
| scripts/verify-workspace.ps1 | Windowsgofmt、go vet、go test |
| scripts/verify-workspace.sh | Linux/macOSgofmt、go vet、go test |
| scripts/build-all-linux.sh | 构建 Linux amd64 独立服务 |
| scripts/generate-protobuf.sh | 重新生成 protobuf |
| scripts/update-all.sh | 更新全部依赖,执行后必须审阅差异 |
## 文档
- [Wiki 索引](wiki/README.md)
- [系统架构](wiki/architecture.md)
- [开发与运维](wiki/operations.md)
- [审计报告](wiki/audit-2026-08-10.md)
## 开发约定
- Go 版本声明、Docker 构建镜像和 CI 构建镜像统一为 `1.26.5`
- 模块必须加入 `go.work`,并确保本地 `replace` 使用当前 `module/...` 目录结构
- protobuf 描述符必须包含服务命名空间,避免多个服务聚合到同一进程时发生全局文件名冲突
- 外部依赖测试使用 `//go:build integration`,不得让默认测试依赖网络或已启动服务
- 配置和测试数据中不得包含真实凭据或个人信息
- 新模块必须加入 go.work不得提交本机绝对路径 replace
- 模块保留独立 cmd/main通过 service.Expose 接入 all
- 默认测试不得访问网络或真实基础设施;集成测试使用 integration build tag
- protobuf 全限定名称必须跨模块唯一
- 提交前运行 workspace 验证脚本和 git diff --check

View File

@@ -3,9 +3,11 @@ package main
import (
"context"
"flag"
"fmt"
"net/http"
"os"
"os/signal"
"regexp"
"strings"
"syscall"
"time"
@@ -18,12 +20,24 @@ import (
var ServiceKey = "default"
var workspacePattern = regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$`)
func normalizeWorkspace(value string) (string, error) {
value = strings.ToLower(strings.TrimSpace(value))
if !workspacePattern.MatchString(value) {
return "", fmt.Errorf("workspace must match %s", workspacePattern.String())
}
return value, nil
}
func main() {
workspace := flag.String("workspace", ServiceKey, "workspace used to select etc/{workspace}_{runtime}.yaml")
flag.Parse()
if value := strings.TrimSpace(*workspace); value != "" {
ServiceKey = value
value, err := normalizeWorkspace(*workspace)
if err != nil {
panic(err)
}
ServiceKey = value
config.New(ServiceKey)
impl.NewImpl()

26
all/cmd/main/main_test.go Normal file
View File

@@ -0,0 +1,26 @@
package main
import "testing"
func TestNormalizeWorkspace(t *testing.T) {
tests := []struct {
input string
want string
ok bool
}{
{input: "default", want: "default", ok: true},
{input: " Tenant_01 ", want: "tenant_01", ok: true},
{input: "../prod", ok: false},
{input: "", ok: false},
{input: "tenant.name", ok: false},
}
for _, test := range tests {
got, err := normalizeWorkspace(test.input)
if (err == nil) != test.ok {
t.Fatalf("normalizeWorkspace(%q) error = %v", test.input, err)
}
if got != test.want {
t.Fatalf("normalizeWorkspace(%q) = %q, want %q", test.input, got, test.want)
}
}
}

View File

@@ -156,5 +156,3 @@ replace (
bsm/full/module/ec/order => ../module/ec/order
bsm/full/module/finance/wallet => ../module/finance/wallet
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -7,6 +7,7 @@ import (
"net"
"net/http"
"strings"
"time"
"github.com/gin-gonic/gin"
gwRuntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
@@ -49,7 +50,13 @@ func (s *Server) Start(addr string) error {
}
s.HTTP.ServeHTTP(w, r)
}), &http2.Server{})
s.server = &http.Server{Addr: addr, Handler: handler}
s.server = &http.Server{
Addr: addr,
Handler: handler,
ReadHeaderTimeout: 10 * time.Second,
IdleTimeout: 120 * time.Second,
MaxHeaderBytes: 1 << 20,
}
listener, err := net.Listen("tcp", addr)
if err != nil {
return err
@@ -59,9 +66,18 @@ func (s *Server) Start(addr string) error {
}
func (s *Server) Stop(ctx context.Context) error {
s.GRPC.GracefulStop()
stopped := make(chan struct{})
go func() {
s.GRPC.GracefulStop()
close(stopped)
}()
select {
case <-stopped:
case <-ctx.Done():
s.GRPC.Stop()
}
if s.server == nil {
return nil
return ctx.Err()
}
return s.server.Shutdown(ctx)
}

View File

@@ -59,6 +59,9 @@ codeberg.org/polyfloyd/go-errorlint v1.9.0/go.mod h1:GPRRu2LzVijNn4YkrZYJfatQIdS
dev.gaijin.team/go/exhaustruct/v4 v4.0.0/go.mod h1:aZ/k2o4Y05aMJtiux15x8iXaumE88YdiB0Ai4fXOzPI=
dev.gaijin.team/go/golib v0.6.0/go.mod h1:uY1mShx8Z/aNHWDyAkZTkX+uCi5PdX7KsG1eDQa2AVE=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
git.apinb.com/bsm-sdk/core v0.2.0/go.mod h1:E9T6Eboo/0Zb36BjkKbIgvFzq4fQ2Q8P/7y5zmYTI6Y=
git.apinb.com/bsm-sdk/core v0.2.1 h1:1kpbdij3qOlf1DmKTq3coIXSgLth5iJHJ3LvVZnjaXM=
git.apinb.com/bsm-sdk/core v0.2.1/go.mod h1:BL/aGHujCWdxrKZrWaiebmLx69J0OrTVv5XfugbbyhE=
git.sr.ht/~sbinet/gg v0.6.0/go.mod h1:uucygbfC9wVPQIfrmwM2et0imr8L7KQWywX0xpFMm94=
github.com/4meepo/tagalign v1.4.3/go.mod h1:00WwRjiuSbrRJnSVeGWPLp2epS5Q/l4UEy0apLLS37c=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=

View File

@@ -4,10 +4,10 @@ Port: 12216
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12216
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12216
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -64,5 +64,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12206
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12206
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12206
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -64,5 +64,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12410
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12409
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12410
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12409
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12410
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12409
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -62,5 +62,3 @@ require (
gorm.io/driver/postgres v1.6.2 // indirect
gorm.io/gorm v1.31.2
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -8,6 +8,7 @@ import "strings"
// 移除空格,转换为小写,确保键值的唯一性和一致性
// 参数:
// - key: 原始键值
//
// 返回:
// - 格式化后的键值
func FormatKey(key string) string {

View File

@@ -1,11 +1,11 @@
Name: {ServiceKey}
ListenOn: 0.0.0.0:12210
Dsn: postgres://postgres:CHANGE_ME@47.109.77.183:5432/milu?sslmode=disable&TimeZone=Asia/Shanghai
Dsn: postgres://postgres:CHANGE_ME@127.0.0.1:5432/milu?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
# DB库设置例redis://null:Weidong1214@139.159.232.50:6379/12代表DB12
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
#
#Etcd:
# Hosts:

View File

@@ -64,5 +64,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -5,16 +5,16 @@ Port: 16290
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
MinioOss:

View File

@@ -5,16 +5,16 @@ Port: 16290
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
MinioOss:

View File

@@ -5,16 +5,16 @@ Port: 16290
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
MinioOss:

View File

@@ -106,5 +106,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12101
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -26,7 +26,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12101
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -26,7 +26,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12101
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -26,7 +26,7 @@ Gateway:
Port: 12102
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -67,5 +67,3 @@ require (
gorm.io/driver/postgres v1.6.2 // indirect
gorm.io/gorm v1.31.2
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -7,12 +7,12 @@ Databases:
- dm://SYSDBA:Yd@2aMwVAcJj4dA@172.21.138.165:5236?database=DAMENG&charset=utf8&parseTime=True&loc=Asia%2FShanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME

View File

@@ -7,13 +7,13 @@ Databases:
- dm://SYSDBA:Yd@2aMwVAcJj4dA@172.21.138.165:5236?database=DAMENG&charset=utf8&parseTime=True&loc=Asia%2FShanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,16 +4,16 @@ Port: 16289
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=rst_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -70,5 +70,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 18001
Databases:
Driver: postgres
Source:
- host=8.137.107.29 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@8.137.107.29:19379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:19379/0
# 是否启用微服务模式
OnMicroService: false
@@ -16,6 +16,6 @@ OnMicroService: false
InitRootUser: true
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME

View File

@@ -4,16 +4,16 @@ Port: 18001
Databases:
Driver: postgres
Source:
- host=pgm-wz9bhqbrvu52d180.pg.rds.aliyuncs.com user=ec_dev password=CHANGE_ME dbname=factor_prod port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=ec_dev password=CHANGE_ME dbname=factor_prod port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,16 +4,16 @@ Port: 18001
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -79,5 +79,3 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -9,10 +9,10 @@ Gateway:
Databases:
Driver: postgres
Source:
- host=8.137.107.29 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@8.137.107.29:19379/
Cache: redis://null:CHANGE_ME@127.0.0.1:19379/
# 微服务设置
MicroService:
@@ -23,19 +23,19 @@ MicroService:
# 微信设置
WeChatConf:
AppID: 123
AppSecret: 123
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -9,10 +9,10 @@ Gateway:
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -23,24 +23,24 @@ MicroService:
# 微信设置
WeChatConf:
AppID: 123
AppSecret: 123
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# KYC认证配置
KycConf:
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -9,10 +9,10 @@ Gateway:
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -23,18 +23,18 @@ MicroService:
# 微信设置
WeChatConf:
AppID: 123
AppSecret: 123
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -68,5 +68,3 @@ require (
gorm.io/driver/postgres v1.6.2 // indirect
gorm.io/gorm v1.31.2
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12208
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -51,7 +51,7 @@ Code:
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:

View File

@@ -4,10 +4,10 @@ Port: 12208
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -51,7 +51,7 @@ Code:
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12208
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -50,7 +50,7 @@ Code:
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:

View File

@@ -84,5 +84,3 @@ require (
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.1.0
go.etcd.io/etcd/client/v3 v3.7.1
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12460
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12459
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12460
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12459
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12460
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12459
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -58,5 +58,3 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,11 +4,11 @@ Port: 12420
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
Debug: true
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -25,7 +25,7 @@ Gateway:
Port: 12419
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12420
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12419
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12420
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12419
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -59,5 +59,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -1,8 +1,8 @@
package freight
import (
"context"
pb "bsm/full/module/ec/mall/pb"
"context"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/service"
"time"

View File

@@ -4,11 +4,11 @@ Port: 12424
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
Debug: true
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -25,7 +25,7 @@ Gateway:
Port: 12423
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12424
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12423
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12424
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12423
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -58,5 +58,3 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12442
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12441
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12442
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12441
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -4,10 +4,10 @@ Port: 12442
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_mall port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 业务操作日志收集提交URL
OpLog: http://api-v2.traingo.cn/oplog/v2
@@ -24,7 +24,7 @@ Gateway:
Port: 12441
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
# Rpc:
# fts:

View File

@@ -59,5 +59,3 @@ require (
gorm.io/driver/postgres v1.6.2 // indirect
gorm.io/gorm v1.31.2
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -5,11 +5,11 @@ Port: 12238
Databases:
Driver: postgres
Source:
- postgres://postgres:CHANGE_ME@47.109.77.183:5432/bsm_dev?sslmode=disable&TimeZone=Asia/Shanghai
- postgres://postgres:CHANGE_ME@127.0.0.1:5432/bsm_dev?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
# DB库设置例redis://null:Weidong1214@139.159.232.50:6379/12代表DB12
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
Etcd:
Hosts:
@@ -71,7 +71,7 @@ WeChat:
AppSecret:
SerialNo: 209F629E63E56D2366361969B51FBA0ADCF69F55
APIV3Key: MakeSupplyChainFinance1123581321
PrivateKey: E:/working/ServerData/wechat_cert/apiclient_key.pem
PrivateKey: CHANGE_ME
NotifyURL:
Currency: CNY
MchID: 1670561983

View File

@@ -1,10 +1,10 @@
Name: {ServiceKey}
ListenOn: 0.0.0.0:12238
Dsn: postgres://postgres:CHANGE_ME@47.109.77.183:5432/{Workspace}_prod?sslmode=disable&TimeZone=Asia/Shanghai
Dsn: postgres://postgres:CHANGE_ME@127.0.0.1:5432/{Workspace}_prod?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
Etcd:
Hosts:

View File

@@ -1,11 +1,11 @@
Name: {ServiceKey}
ListenOn: 0.0.0.0:12238
Dsn: postgres://postgres:CHANGE_ME@47.109.77.183:5432/{Workspace}_test?sslmode=disable&TimeZone=Asia/Shanghai
Dsn: postgres://postgres:CHANGE_ME@127.0.0.1:5432/{Workspace}_test?sslmode=disable&TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
# DB库设置例redis://null:Weidong1214@127.0.0.1:6379/12代表DB12
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
Etcd:
Hosts:

View File

@@ -74,5 +74,3 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,10 +4,10 @@ Port: 12426
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -18,14 +18,14 @@ MicroService:
# 微信设置
WeChatConf:
AppID: 123
AppSecret: 123
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# Gateway 设置
@@ -34,7 +34,7 @@ Gateway:
Port: 12425
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -4,10 +4,10 @@ Port: 12426
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -18,21 +18,21 @@ MicroService:
# 微信设置
WeChatConf:
AppID: 123
AppSecret: 123
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# KYC认证配置
KycConf:
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
# Gateway 设置
Gateway:
@@ -40,7 +40,7 @@ Gateway:
Port: 12425
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -4,10 +4,10 @@ Port: 12426
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -18,14 +18,14 @@ MicroService:
# 微信设置
WeChatConf:
AppID: 123
AppSecret: 123
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
ApiSecret: 123
ApiToken: 123
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# Gateway 设置
@@ -34,7 +34,7 @@ Gateway:
Port: 12425
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -45,5 +45,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -5,12 +5,12 @@ import (
"time"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/vars"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 计数操作

View File

@@ -5,13 +5,13 @@ import (
"time"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/types"
"git.apinb.com/bsm-sdk/core/utils"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 新建评论

View File

@@ -4,13 +4,13 @@ import (
"context"
"time"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/types"
"git.apinb.com/bsm-sdk/core/utils"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 修改推文

View File

@@ -3,8 +3,8 @@ package post
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 评论列表

View File

@@ -4,13 +4,13 @@ import (
"context"
"time"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/types"
"git.apinb.com/bsm-sdk/core/utils"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 新建推文

View File

@@ -4,12 +4,12 @@ import (
"context"
"time"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/vars"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 删除评论

View File

@@ -3,11 +3,11 @@ package post
import (
"context"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 推文列表

View File

@@ -4,12 +4,12 @@ import (
"context"
"time"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/vars"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 删除推文

View File

@@ -3,8 +3,8 @@ package setting
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 修改个人信息

View File

@@ -3,8 +3,8 @@ package setting
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 修改权限信息

View File

@@ -3,12 +3,12 @@ package tag
import (
"context"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/utils"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
)
// 新建标签

View File

@@ -3,10 +3,10 @@ package tag
import (
"context"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/service"
"bsm/full/module/social/feed/internal/models"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/service"
)
// 标签列表

View File

@@ -3,8 +3,8 @@ package tag
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 话题相关的文章

View File

@@ -3,8 +3,8 @@ package timeline
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 关注的动态

View File

@@ -3,8 +3,8 @@ package timeline
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 好友动态

View File

@@ -3,8 +3,8 @@ package timeline
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 热门

View File

@@ -3,8 +3,8 @@ package timeline
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
"git.apinb.com/bsm-sdk/core/service"
)
// 推荐

View File

@@ -4,10 +4,10 @@ Port: 12247
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12425
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -4,10 +4,10 @@ Port: 12247
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12425
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -4,10 +4,10 @@ Port: 12247
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
# 微服务设置
MicroService:
@@ -21,7 +21,7 @@ Gateway:
Port: 12425
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"

View File

@@ -45,5 +45,3 @@ require (
gorm.io/driver/mysql v1.6.0 // indirect
gorm.io/driver/postgres v1.6.2 // indirect
)
replace git.apinb.com/bsm-sdk/core => D:/work/bsm-sdk/core

View File

@@ -4,13 +4,13 @@ import (
"context"
"time"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/utils"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
)
// 创建群组

View File

@@ -3,10 +3,10 @@ package basic
import (
"context"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/vars"
pb "bsm/full/module/social/group/pb"
"time"
)

View File

@@ -3,11 +3,11 @@ package basic
import (
"context"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
)
// 获取群组列表

View File

@@ -3,11 +3,11 @@ package basic
import (
"context"
"bsm/full/module/social/group/internal/impl"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"bsm/full/module/social/group/internal/impl"
pb "bsm/full/module/social/group/pb"
)
// 获取群组信息

View File

@@ -4,14 +4,14 @@ import (
"context"
"time"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/utils"
"git.apinb.com/bsm-sdk/core/vars"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
)
// 修改群组信息

View File

@@ -3,9 +3,9 @@ package basic
import (
"context"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/group/pb"
)
// 搜索

View File

@@ -4,13 +4,13 @@ import (
"context"
"time"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/utils"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
)
// 申请加群

View File

@@ -4,13 +4,13 @@ import (
"context"
"time"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/vars"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
)
// 踢人

View File

@@ -4,13 +4,13 @@ import (
"context"
"time"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/printer"
"git.apinb.com/bsm-sdk/core/service"
"git.apinb.com/bsm-sdk/core/vars"
"bsm/full/module/social/group/internal/impl"
"bsm/full/module/social/group/internal/models"
pb "bsm/full/module/social/group/pb"
)
// 退群

Some files were not shown because too many files have changed in this diff Show More