Router2DataInsert

package
v5.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoMarge

func AutoMarge(rawByte []byte, needMarks []string) (resultData []byte)

AutoMarge 自动化填充常用数据方法 * 可识别的ID有: - userID -> userName / userPhone / userAvatar - orgID -> orgName / orgLogo - orgBindID -> orgBindName / orgBindPhone - deviceID -> deviceName - roomID -> roomName - coverFileID -> coverFileURL - desFiles -> desFileURLs - companyID -> companyName needMarks: "userName", "orgName", "orgBindName", "deviceName", "roomName" "userPhone", "orgBindPhone" "userAvatar", "orgLogo" "coverFileID", "desFiles" "companyName"

func AutoMargeRel

func AutoMargeRel(rawData interface{}, needMarks []string) (resultData []byte)

AutoMargeRel 映射方法

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL