Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
b9a95cecf6
|
@ -8,9 +8,10 @@ import (
|
||||||
type FsProductTemplateTags struct {
|
type FsProductTemplateTags struct {
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // ID
|
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // ID
|
||||||
Title *string `gorm:"default:'';" json:"title"` // 标题
|
Title *string `gorm:"default:'';" json:"title"` // 标题
|
||||||
CoverImg *string `gorm:"default:'';" json:"cover_img"` // 封面图
|
Cover *string `gorm:"default:'';" json:"cover"` // 封面图
|
||||||
Status *int64 `gorm:"default:0;" json:"status"` // 状态 1:可用
|
Status *int64 `gorm:"default:0;" json:"status"` // 状态 1:可用
|
||||||
CreateAt *int64 `gorm:"default:0;" json:"create_at"` // 创建时间
|
CreateAt *int64 `gorm:"default:0;" json:"create_at"` // 创建时间
|
||||||
|
Groups *string `gorm:"default:'';" json:"groups"` // 分组信息
|
||||||
}
|
}
|
||||||
type FsProductTemplateTagsModel struct {
|
type FsProductTemplateTagsModel struct {
|
||||||
db *gorm.DB
|
db *gorm.DB
|
||||||
|
|
|
@ -32,3 +32,14 @@ func (pt *FsProductTemplateTagsModel) GetList(ctx context.Context, page, limit i
|
||||||
err = db.Offset(offset).Limit(limit).Find(&resp).Error
|
err = db.Offset(offset).Limit(limit).Find(&resp).Error
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
func (pt *FsProductTemplateTagsModel) GetListByTitles(ctx context.Context, titles []string, limit int, orderBy string) (resp []FsProductTemplateTags, err error) {
|
||||||
|
if len(titles) == 0 {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
db := pt.db.WithContext(ctx).Model(&FsProductTemplateTags{}).Where("`title` in (?) and `status` = ?", titles, 1)
|
||||||
|
if orderBy != "" {
|
||||||
|
db = db.Order(orderBy)
|
||||||
|
}
|
||||||
|
err = db.Limit(limit).Find(&resp).Error
|
||||||
|
return resp, err
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package gmodel
|
package gmodel
|
||||||
|
|
||||||
|
// TODO: 使用model的属性做你想做的
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fusenapi/utils/handlers"
|
"fusenapi/utils/handlers"
|
||||||
|
|
|
@ -61,12 +61,9 @@ func (m *FsUserMaterialModel) FindLatestOne(ctx context.Context, userId int64, g
|
||||||
if userId == 0 && guestId == 0 {
|
if userId == 0 && guestId == 0 {
|
||||||
return FsUserMaterial{}, nil
|
return FsUserMaterial{}, nil
|
||||||
}
|
}
|
||||||
db := m.db.WithContext(ctx).Model(&FsUserMaterial{}).Order("id DESC")
|
db := m.db.WithContext(ctx).Model(&FsUserMaterial{}).
|
||||||
if userId != 0 {
|
Where("`user_id` = ? and `guest_id` = ?", userId, guestId).
|
||||||
db = db.Where("`user_id` = ?", userId)
|
Order("id DESC")
|
||||||
} else {
|
|
||||||
db = db.Where("`guest_id` = ?", guestId)
|
|
||||||
}
|
|
||||||
err = db.Take(&resp).Error
|
err = db.Take(&resp).Error
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
@ -75,3 +72,8 @@ func (m *FsUserMaterialModel) FindOneById(ctx context.Context, id int64) (resp *
|
||||||
err = m.db.WithContext(ctx).Model(&FsUserMaterial{}).Where("id = ?", id).Take(&resp).Error
|
err = m.db.WithContext(ctx).Model(&FsUserMaterial{}).Where("id = ?", id).Take(&resp).Error
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
func (m *FsUserMaterialModel) GetListByUser(ctx context.Context, userId, guestId int64, limit int) (resp *FsUserMaterial, err error) {
|
||||||
|
err = m.db.WithContext(ctx).Model(&FsUserMaterial{}).
|
||||||
|
Where("`user_id` = ? and `guest_id` = ?", userId, guestId).Order("id DESC").Limit(limit).Find(&resp).Error
|
||||||
|
return resp, err
|
||||||
|
}
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
package logic
|
package logic
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/json"
|
||||||
|
"errors"
|
||||||
|
"fusenapi/model/gmodel"
|
||||||
"fusenapi/utils/auth"
|
"fusenapi/utils/auth"
|
||||||
"fusenapi/utils/basic"
|
"fusenapi/utils/basic"
|
||||||
|
"gorm.io/gorm"
|
||||||
|
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
|
@ -37,9 +41,39 @@ func NewGetProductTemplateTagsLogic(ctx context.Context, svcCtx *svc.ServiceCont
|
||||||
|
|
||||||
func (l *GetProductTemplateTagsLogic) GetProductTemplateTags(req *types.GetProductTemplateTagsReq, userinfo *auth.UserInfo) (resp *basic.Response) {
|
func (l *GetProductTemplateTagsLogic) GetProductTemplateTags(req *types.GetProductTemplateTagsReq, userinfo *auth.UserInfo) (resp *basic.Response) {
|
||||||
if req.Limit <= 0 || req.Limit > 100 {
|
if req.Limit <= 0 || req.Limit > 100 {
|
||||||
req.Limit = 4
|
req.Limit = 5
|
||||||
|
}
|
||||||
|
var (
|
||||||
|
productTemplateTags []gmodel.FsProductTemplateTags
|
||||||
|
)
|
||||||
|
//获取用户元数据
|
||||||
|
userMaterial, err := l.svcCtx.AllModels.FsUserMaterial.GetListByUser(l.ctx, userinfo.UserId, userinfo.GuestId, req.Limit)
|
||||||
|
if err != nil {
|
||||||
|
if !errors.Is(err, gorm.ErrRecordNotFound) {
|
||||||
|
logx.Error(err)
|
||||||
|
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get ai recommend product template tag list")
|
||||||
|
}
|
||||||
|
// 返回固定模板标签列表
|
||||||
|
productTemplateTags, err = l.svcCtx.AllModels.FsProductTemplateTags.GetList(l.ctx, 1, req.Limit, "`id` DESC")
|
||||||
|
} else {
|
||||||
|
//元数据是空的
|
||||||
|
if userMaterial.Metadata == nil || *userMaterial.Metadata == "" {
|
||||||
|
// 返回固定模板标签列表
|
||||||
|
productTemplateTags, err = l.svcCtx.AllModels.FsProductTemplateTags.GetList(l.ctx, 1, req.Limit, "`id` DESC")
|
||||||
|
} else {
|
||||||
|
//解析元数据
|
||||||
|
var metaData map[string]interface{}
|
||||||
|
if err = json.Unmarshal([]byte(*userMaterial.Metadata), &metaData); err != nil {
|
||||||
|
logx.Error(err)
|
||||||
|
return resp.SetStatusWithMessage(basic.CodeJsonErr, "failed to parse user metadata")
|
||||||
|
}
|
||||||
|
templateTagNameList, ok := metaData["template_tagid"].([]string)
|
||||||
|
if !ok {
|
||||||
|
return resp.SetStatusWithMessage(basic.CodeJsonErr, "invalid format of metadata`template_tagid")
|
||||||
|
}
|
||||||
|
productTemplateTags, err = l.svcCtx.AllModels.FsProductTemplateTags.GetListByTitles(l.ctx, templateTagNameList, req.Limit, "id DESC")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
productTemplateTags, err := l.svcCtx.AllModels.FsProductTemplateTags.GetList(l.ctx, 1, req.Limit, "`id` DESC")
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get template tags")
|
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get template tags")
|
||||||
|
@ -49,7 +83,7 @@ func (l *GetProductTemplateTagsLogic) GetProductTemplateTags(req *types.GetProdu
|
||||||
list = append(list, types.GetProductTemplateTagsRsp{
|
list = append(list, types.GetProductTemplateTagsRsp{
|
||||||
Id: v.Id,
|
Id: v.Id,
|
||||||
Tag: *v.Title,
|
Tag: *v.Title,
|
||||||
Cover: *v.CoverImg,
|
Cover: *v.Cover,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", list)
|
return resp.SetStatusWithMessage(basic.CodeOK, "success", list)
|
||||||
|
|
|
@ -99,7 +99,7 @@ func (l *GetTemplateByPidLogic) GetTemplateByPid(req *types.GetTemplateByPidReq,
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
//基础模板信息
|
//基础模板信息
|
||||||
var info map[string]map[string]interface{}
|
var info interface{}
|
||||||
if err = json.Unmarshal([]byte(*templateInfo.TemplateInfo), &info); err != nil {
|
if err = json.Unmarshal([]byte(*templateInfo.TemplateInfo), &info); err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return resp.SetStatusWithMessage(basic.CodeJsonErr, fmt.Sprintf("failed to parse json product template info(may be old data):%d", templateInfo.Id))
|
return resp.SetStatusWithMessage(basic.CodeJsonErr, fmt.Sprintf("failed to parse json product template info(may be old data):%d", templateInfo.Id))
|
||||||
|
@ -110,14 +110,10 @@ func (l *GetTemplateByPidLogic) GetTemplateByPid(req *types.GetTemplateByPidReq,
|
||||||
_ = json.Unmarshal([]byte(*templateInfo.SwitchInfo), &switchInfo)
|
_ = json.Unmarshal([]byte(*templateInfo.SwitchInfo), &switchInfo)
|
||||||
}
|
}
|
||||||
modelInfo := modelList[modelIndex]
|
modelInfo := modelList[modelIndex]
|
||||||
var material interface{}
|
|
||||||
if info["module_data"] != nil && info["module_data"]["material"] != nil {
|
|
||||||
material = info["module_data"]["material"]
|
|
||||||
}
|
|
||||||
mapKey := fmt.Sprintf("_%d", *modelInfo.SizeId)
|
mapKey := fmt.Sprintf("_%d", *modelInfo.SizeId)
|
||||||
rsp[mapKey] = map[string]interface{}{
|
rsp[mapKey] = map[string]interface{}{
|
||||||
"id": templateInfo.Id,
|
"id": templateInfo.Id,
|
||||||
"material": material,
|
"material": *templateInfo.MaterialImg,
|
||||||
"material_data": switchInfo,
|
"material_data": switchInfo,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,17 @@
|
||||||
package consumer
|
package consumer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"fusenapi/constants"
|
"fusenapi/constants"
|
||||||
"fusenapi/initalize"
|
"fusenapi/initalize"
|
||||||
"fusenapi/model/gmodel"
|
|
||||||
"fusenapi/server/render/internal/svc"
|
"fusenapi/server/render/internal/svc"
|
||||||
"fusenapi/utils/curl"
|
|
||||||
"fusenapi/utils/file"
|
|
||||||
"fusenapi/utils/hash"
|
|
||||||
"fusenapi/utils/websocket_data"
|
"fusenapi/utils/websocket_data"
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
"io/ioutil"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// 这里请求的py接口返回数据
|
// 这里请求的py接口返回数据
|
||||||
|
@ -55,7 +48,7 @@ func (m *MqConsumerRenderAssemble) Run(ctx context.Context, data []byte) error {
|
||||||
return nil //不返回错误就删除消息
|
return nil //不返回错误就删除消息
|
||||||
}
|
}
|
||||||
rabbitmq := initalize.RabbitMqHandle{}
|
rabbitmq := initalize.RabbitMqHandle{}
|
||||||
//获取模板(产品第一个sku的模板)
|
//获取模板(模板标签下的对一个物料的的模板)
|
||||||
productTemplate, err := svcCtx.AllModels.FsProductTemplateV2.FindOneByProductIdTagIdWithSizeTable(ctx, parseInfo.RenderData.ProductId, fmt.Sprintf("%d", parseInfo.RenderData.TemplateTagId))
|
productTemplate, err := svcCtx.AllModels.FsProductTemplateV2.FindOneByProductIdTagIdWithSizeTable(ctx, parseInfo.RenderData.ProductId, fmt.Sprintf("%d", parseInfo.RenderData.TemplateTagId))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, gorm.ErrRecordNotFound) {
|
if errors.Is(err, gorm.ErrRecordNotFound) {
|
||||||
|
@ -65,23 +58,8 @@ func (m *MqConsumerRenderAssemble) Run(ctx context.Context, data []byte) error {
|
||||||
logx.Error("failed to get template info:", err)
|
logx.Error("failed to get template info:", err)
|
||||||
return nil //不返回错误就删除消息
|
return nil //不返回错误就删除消息
|
||||||
}
|
}
|
||||||
combineImage := "" //刀版图
|
//获取刀版图
|
||||||
combineHash := hash.JsonHashKey(parseInfo) //区别于云渲染的taskid,这个用获取刀版图缓存
|
combineImage := "" //刀版图
|
||||||
//获取该hash值下有没有对应的资源
|
|
||||||
resource, err := svcCtx.AllModels.FsResource.FindOneById(ctx, combineHash)
|
|
||||||
if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) {
|
|
||||||
logx.Error("failed to get resource :", err)
|
|
||||||
return nil //不返回错误就删除消息
|
|
||||||
}
|
|
||||||
//如果不存在,则请求生成刀版图
|
|
||||||
if errors.Is(err, gorm.ErrRecordNotFound) {
|
|
||||||
combineImage, err = getCombineImage(ctx, svcCtx, parseInfo, productTemplate, combineHash)
|
|
||||||
if err != nil {
|
|
||||||
return nil //不返回错误就删除消息
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
combineImage = *resource.ResourceUrl
|
|
||||||
}
|
|
||||||
//获取渲染设置信息
|
//获取渲染设置信息
|
||||||
element, err := svcCtx.AllModels.FsProductTemplateElement.FindOneByModelId(ctx, *productTemplate.ModelId)
|
element, err := svcCtx.AllModels.FsProductTemplateElement.FindOneByModelId(ctx, *productTemplate.ModelId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -167,106 +145,3 @@ func (m *MqConsumerRenderAssemble) Run(ctx context.Context, data []byte) error {
|
||||||
logx.Info("发送渲染组装数据到unity成功")
|
logx.Info("发送渲染组装数据到unity成功")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取刀版图
|
|
||||||
func getCombineImage(ctx context.Context, svcCtx *svc.ServiceContext, parseInfo websocket_data.AssembleRenderData, productTemplate *gmodel.FsProductTemplateV2, combineHash string) (image string, err error) {
|
|
||||||
if productTemplate.TemplateInfo == nil || *productTemplate.TemplateInfo == "" {
|
|
||||||
logx.Error("product template info`template_info is empty")
|
|
||||||
return "", errors.New("product template info`template_info is empty")
|
|
||||||
}
|
|
||||||
//反序列化替换其中一些参数
|
|
||||||
var combineInfo map[string]interface{}
|
|
||||||
if err = json.Unmarshal([]byte(*productTemplate.TemplateInfo), &combineInfo); err != nil {
|
|
||||||
logx.Error("failed to parse json:template_info:", err)
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
//需要替换的参数
|
|
||||||
replaceData := map[string]interface{}{
|
|
||||||
"logo_url": parseInfo.RenderData.Logo,
|
|
||||||
"website": parseInfo.RenderData.Website,
|
|
||||||
"slogan": parseInfo.RenderData.Slogan,
|
|
||||||
"address": parseInfo.RenderData.Address,
|
|
||||||
"phone": parseInfo.RenderData.Phone,
|
|
||||||
"colors": []string{},
|
|
||||||
"template_tagid": []string{"b1a"},
|
|
||||||
"is_crop": false,
|
|
||||||
"shape": "",
|
|
||||||
"ratio": 0,
|
|
||||||
"line": "",
|
|
||||||
"other": "",
|
|
||||||
"other1": "",
|
|
||||||
}
|
|
||||||
//获取用户素材信息
|
|
||||||
if parseInfo.RenderData.UserMaterialId > 0 {
|
|
||||||
userMaterial, err := svcCtx.AllModels.FsUserMaterial.FindOneById(ctx, parseInfo.RenderData.UserMaterialId)
|
|
||||||
if err != nil {
|
|
||||||
if errors.Is(err, gorm.ErrRecordNotFound) {
|
|
||||||
logx.Error("user material not exists:", parseInfo.RenderData.UserMaterialId)
|
|
||||||
return "", errors.New("user material not exists")
|
|
||||||
}
|
|
||||||
logx.Error("err failed to get user material info")
|
|
||||||
}
|
|
||||||
if userMaterial.Metadata != nil && *userMaterial.Metadata != "" {
|
|
||||||
//解析元数据
|
|
||||||
var materialMetaData map[string]interface{}
|
|
||||||
if err = json.Unmarshal([]byte(*userMaterial.Metadata), &materialMetaData); err != nil {
|
|
||||||
logx.Error("failed to parse user material`matadata: ", err)
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
//赋值
|
|
||||||
replaceData["colors"] = materialMetaData["colors"]
|
|
||||||
replaceData["logo_url"] = materialMetaData["logo_url"]
|
|
||||||
replaceData["shape"] = materialMetaData["shape"]
|
|
||||||
replaceData["is_crop"] = materialMetaData["is_crop"]
|
|
||||||
replaceData["ratio"] = materialMetaData["ratio"]
|
|
||||||
replaceData["line"] = materialMetaData["line"]
|
|
||||||
replaceData["other"] = materialMetaData["other"]
|
|
||||||
replaceData["other1"] = materialMetaData["other1"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
combineInfo["param_data"] = replaceData
|
|
||||||
postData, _ := json.Marshal(combineInfo)
|
|
||||||
//请求合成图片
|
|
||||||
url := svcCtx.Config.PythonApi.CombineImageUrl
|
|
||||||
header := make(map[string]string)
|
|
||||||
header["content-type"] = "application/json"
|
|
||||||
/*f, _ := os.Create("a.txt")
|
|
||||||
defer f.Close()
|
|
||||||
f.Write(postData)*/
|
|
||||||
httpRsp, err := curl.ApiCall(url, "POST", header, bytes.NewReader(postData), time.Second*20)
|
|
||||||
if err != nil {
|
|
||||||
logx.Error("failed to combine logo:", err)
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
defer httpRsp.Body.Close()
|
|
||||||
bytes, err := ioutil.ReadAll(httpRsp.Body)
|
|
||||||
if err != nil {
|
|
||||||
logx.Error("failed to read python api rsp body:", err)
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
var pythonApiInfo pythonApiRsp
|
|
||||||
if err = json.Unmarshal(bytes, &pythonApiInfo); err != nil {
|
|
||||||
logx.Error("failed to parse python api rsp:", err)
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
//fmt.Println("××××××××××××××××××××:", pythonApiInfo)
|
|
||||||
//上传刀版图
|
|
||||||
var upload = file.Upload{
|
|
||||||
Ctx: ctx,
|
|
||||||
MysqlConn: svcCtx.MysqlConn,
|
|
||||||
AwsSession: svcCtx.AwsSession,
|
|
||||||
}
|
|
||||||
uploadRes, err := upload.UploadFileByBase64(&file.UploadBaseReq{
|
|
||||||
FileHash: combineHash,
|
|
||||||
FileData: pythonApiInfo.Result,
|
|
||||||
UploadBucket: 1,
|
|
||||||
ApiType: 2,
|
|
||||||
UserId: parseInfo.RenderData.UserId,
|
|
||||||
GuestId: parseInfo.RenderData.GuestId,
|
|
||||||
})
|
|
||||||
if err != nil {
|
|
||||||
logx.Error("上传刀版图到s3失败:", err)
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
return uploadRes.ResourceUrl, nil
|
|
||||||
}
|
|
||||||
|
|
|
@ -14,4 +14,4 @@ AWS:
|
||||||
Secret: sjCEv0JxATnPCxno2KNLm0X8oDc7srUR+4vkYhvm
|
Secret: sjCEv0JxATnPCxno2KNLm0X8oDc7srUR+4vkYhvm
|
||||||
Token:
|
Token:
|
||||||
PythonApi: #python接口
|
PythonApi: #python接口
|
||||||
CombineImageUrl: http://192.168.1.7:45678/LogoCombine #合成刀版图接口
|
CombineImageUrl: http://18.119.109.254:8999/LogoCombine #合成刀版图接口
|
|
@ -16,12 +16,12 @@ type RenderData struct {
|
||||||
ProductId int64 `json:"product_id"` //产品id
|
ProductId int64 `json:"product_id"` //产品id
|
||||||
UserMaterialId int64 `json:"user_material_id"` //用户素材id
|
UserMaterialId int64 `json:"user_material_id"` //用户素材id
|
||||||
Logo string `json:"logo"` //log资源地址(websocket连接建立再赋值)
|
Logo string `json:"logo"` //log资源地址(websocket连接建立再赋值)
|
||||||
Website string `json:"website"` //网站
|
/*Website string `json:"website"` //网站
|
||||||
Slogan string `json:"slogan"` //slogan
|
Slogan string `json:"slogan"` //slogan
|
||||||
Address string `json:"address"` //地址
|
Address string `json:"address"` //地址
|
||||||
Phone string `json:"phone"` //电话
|
Phone string `json:"phone"` //电话*/
|
||||||
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
|
UserId int64 `json:"user_id"` //用户id(websocket连接建立再赋值)
|
||||||
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)
|
GuestId int64 `json:"guest_id"` //游客id(websocket连接建立再赋值)
|
||||||
}
|
}
|
||||||
|
|
||||||
// websocket发送渲染完的数据
|
// websocket发送渲染完的数据
|
||||||
|
|
Loading…
Reference in New Issue
Block a user