This commit is contained in:
邹宗楠
2023-11-30 16:16:52 +08:00
parent f4e457afb9
commit 9852662016
2 changed files with 20 additions and 1 deletions

View File

@@ -23,3 +23,22 @@ type RiderInfo struct {
Longitude string `json:"longitude"` // 骑手当前的经度,美团使用的是高德坐标系。
OpCode string `json:"opcode"` // 抖音状态(抖音才需要)
}
func JxVendorId2TiktokCode(vendorId int) string {
code := ""
switch vendorId {
case 101:
code = DaDaCode
case 102:
code = MTPsCode
case 103:
code = FnPsCode
case 105:
code = UUPTCode
case 106:
code = SFPSCode
default:
code = MyselfPsCode
}
return code
}