This commit is contained in:
eson 2023-08-21 23:49:29 +08:00
parent 40b1163cc1
commit 08c62af2cf
3 changed files with 1 additions and 72 deletions

View File

@ -19,6 +19,7 @@ import (
var shardID uint64 = 128
// 出队的逻辑注册触发函数, 当
var DequeueHandler = triggered.RegisterExecute(func(params *triggered.Params[bool]) {
params.Shared.Value(func(v any) {

View File

@ -1,9 +0,0 @@
package fusenrender
import (
"testing"
)
func TestMain(t *testing.T) {
}

63
t.yaml
View File

@ -1,63 +0,0 @@
swagger: "2.0"
info:
title: Auth API
version: 1.0.0
description: 用户认证接口
paths:
/api/auth/email/confirmation:
get:
summary: 邮箱确认
parameters:
- name: token
in: query
type: string
required: true
description: 操作token
responses:
200:
description: 确认成功
/api/auth/oauth2/register:
get:
summary: 邮箱注册
parameters:
- name: body
in: body
required: true
schema:
$ref: '#/definitions/EmailRegisterRequest'
responses:
200:
description: 注册成功
schema:
$ref: '#/definitions/AuthResponse'
definitions:
EmailRegisterRequest:
type: object
required:
- email
- wcid
- guest_id
- register_token
properties:
email:
type: string
wcid:
type: integer
format: uint64
guest_id:
type: integer
format: uint64
register_token:
type: string
AuthResponse:
type: object
properties:
token:
type: string
description: 注册登录生成的JWT token