package
0.0.0-20241224073525-a1b658003550
Repository: https://github.com/scys-devs/lib-go.git
Documentation: pkg.go.dev

# README

接口文档

目前这模块集成了4个主要接口,post数据主要以json进行传输

header字段

  • request中需要添加的字段
    • Accept-Language (当中文的时候,只有台湾地区写zh_TW,其他为zh_CN)
    • bundle-id
    • version
  • response需要处理的字段
    • set-token 更新用户token

旧版后台迁移指南

  • response header新增set-token,用于更新前端token
  • user表新增ip_addr
  • 既然数据上了RDS,那么注意表引擎改用x-engine

# Functions

获取google pay回调中的data.
处理谷歌订单id 返回基础订单号和订阅次数.
GetLangCode 获取语言代码.
No description provided by the author
T 获取翻译文本.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
google pay 回调base64字符串解码格式.
google pay回调格式.
google pay回调中 message格式.
google pay 验单接口参数.
hermit 由基础配置+计算配置得出.
No description provided by the author
No description provided by the author
No description provided by the author
UserContext 引入JWT只是为了写入一些基础信息,不做判断 后续使用session来维护.
No description provided by the author