默认模块
2026/3/15大约 10 分钟
默认模块
Base URLs:
Authentication
loc
POST DeleteLoc
POST /loc/DeleteLoc
loc service method: // DeleteLoc .
Body 请求参数
{
"app_id": 0,
"id": [
0
],
"uid": 0
}请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
| body | body | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationDeleteReq | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-common_NoDataResp |
GET GetLoc
GET /loc/GetLoc
loc service method: // GetLoc .
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"data": {
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationGetResp |
POST ImportLoc
POST /loc/ImportLoc
loc service method: // ImportLoc .
Body 请求参数
{
"app_id": 0,
"force": true,
"oss_path": "string",
"uid": 0
}请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
| body | body | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationImportReq | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"action": "string",
"remark": "string"
},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationImportResp |
GET List
GET /loc/List
loc service method: // List .
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"list": [
{
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
null
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": "[",
"update_time": 0,
"update_uid": 0,
"version": 0
}
],
"total": 0
},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationGetListResp |
POST OutputTemplate
POST /loc/OutputTemplate
loc service method: // OutputTemplate .
Body 请求参数
{
"app_id": 0
}请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
| body | body | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationOutputTemplateReq | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"title": [
"string"
]
},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationOutputTemplateResp |
POST PutLoc
POST /loc/PutLoc
loc service method: // PutLoc .
Body 请求参数
{
"app_id": 0,
"caption": "string",
"data": [
{
"content": "string",
"language": "string"
}
],
"dtm_param": {
"branch_id": "string",
"commit_type": 0,
"dtm": "string",
"gid": "string",
"op": "string",
"phase2_url": "string",
"trans_type": "string"
},
"id": 0,
"loc_id": "string",
"operator_uid": 0,
"type": 0,
"version": 0
}请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
| body | body | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationPutReq | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"data": {
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationPutResp |
POST QueryLoc
POST /loc/QueryLoc
loc service method: // TranslateLoc .
Body 请求参数
{
"data": "string",
"language": "string"
}请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| x-token | header | string | 否 | 登录态 |
| X-MerchantId | header | string | 否 | 渠道商 |
| X-WebCode | header | string | 否 | none |
| Referer | header | string | 否 | none |
| X-AppCode | header | string | 否 | none |
| x-country | header | string | 否 | none |
| x-language | header | string | 否 | none |
| body | body | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationTranslateReq | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"data": "string"
},
"message": "string",
"traceID": "string"
}返回结果
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationTranslateResp |
数据模型
utils.JsonData-common_NoDataResp
{
"code": 0,
"data": {},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | common.NoDataResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
lf_git_oa_mt_mobapay_payment_proto_loc.Localization
{
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{
"content": "string",
"language": "string"
}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| app_id | integer | false | none | none | |
| caption | string | false | none | none | |
| create_time | integer | false | none | none | |
| create_uid | integer | false | none | none | |
| data | [lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationData] | false | none | none | |
| id | integer | false | none | none | |
| is_deleted | boolean | false | none | none | |
| loc_id | string | false | none | locid 即是dataid,又是id | |
| type | enum.LocType | false | none | none | |
| update_time | integer | false | none | none | |
| update_uid | integer | false | none | none | |
| version | integer | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationData
{
"content": "string",
"language": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| content | string | false | none | none | |
| language | string | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationDeleteReq
{
"app_id": 0,
"id": [
0
],
"uid": 0
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| app_id | integer | false | none | none | |
| id | [integer] | false | none | none | |
| uid | integer | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationGetListResp
{
"list": [
{
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{
"content": "string",
"language": "string"
}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
],
"total": 0
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| list | [lf_git_oa_mt_mobapay_payment_proto_loc.Localization] | false | none | none | |
| total | integer | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationGetResp
{
"data": {
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{
"content": "string",
"language": "string"
}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| data | lf_git_oa_mt_mobapay_payment_proto_loc.Localization | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationImportReq
{
"app_id": 0,
"force": true,
"oss_path": "string",
"uid": 0
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| app_id | integer | false | none | none | |
| force | boolean | false | none | none | |
| oss_path | string | false | none | none | |
| uid | integer | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationImportResp
{
"action": "string",
"remark": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| action | string | false | none | none | |
| remark | string | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationOutputTemplateReq
{
"app_id": 0
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| app_id | integer | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationPutReq
{
"app_id": 0,
"caption": "string",
"data": [
{
"content": "string",
"language": "string"
}
],
"dtm_param": {
"branch_id": "string",
"commit_type": 0,
"dtm": "string",
"gid": "string",
"op": "string",
"phase2_url": "string",
"trans_type": "string"
},
"id": 0,
"loc_id": "string",
"operator_uid": 0,
"type": 0,
"version": 0
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| app_id | integer | false | none | none | |
| caption | string | false | none | none | |
| data | [lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationData] | false | none | none | |
| dtm_param | common.XaTransCommitReq | false | none | none | |
| id | integer | false | none | none | |
| loc_id | string | false | none | none | |
| operator_uid | integer | false | none | none | |
| type | enum.LocType | false | none | none | |
| version | integer | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationPutResp
{
"data": {
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{
"content": "string",
"language": "string"
}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| data | lf_git_oa_mt_mobapay_payment_proto_loc.Localization | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationTranslateReq
{
"data": "string",
"language": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| data | string | false | none | none | |
| language | string | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationTranslateResp
{
"data": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| data | string | false | none | none |
lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationOutputTemplateResp
{
"title": [
"string"
]
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| title | [string] | false | none | none |
utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationGetListResp
{
"code": 0,
"data": {
"list": [
{
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
null
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": "[",
"update_time": 0,
"update_uid": 0,
"version": 0
}
],
"total": 0
},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationGetListResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationGetResp
{
"code": 0,
"data": {
"data": {
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationGetResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationImportResp
{
"code": 0,
"data": {
"action": "string",
"remark": "string"
},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationImportResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationPutResp
{
"code": 0,
"data": {
"data": {
"app_id": 0,
"caption": "string",
"create_time": 0,
"create_uid": 0,
"data": [
{}
],
"id": 0,
"is_deleted": true,
"loc_id": "string",
"type": 0,
"update_time": 0,
"update_uid": 0,
"version": 0
}
},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationPutResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationTranslateResp
{
"code": 0,
"data": {
"data": "string"
},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationTranslateResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
utils.JsonData-lf_git_oa_mt_mobapay_payment_proto_loc_LocalizationOutputTemplateResp
{
"code": 0,
"data": {
"title": [
"string"
]
},
"message": "string",
"traceID": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| code | integer | false | none | 业务返回码,0 为成功 | |
| data | lf_git_oa_mt_mobapay_payment_proto_loc.LocalizationOutputTemplateResp | false | none | 具体业务数据 | |
| message | string | false | none | 业务返回信息描述 | |
| traceID | string | false | none | 链路追踪 ID,用于排查问题 |
common.XaTransCommitReq
{
"branch_id": "string",
"commit_type": 0,
"dtm": "string",
"gid": "string",
"op": "string",
"phase2_url": "string",
"trans_type": "string"
}属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| branch_id | string | false | none | none | |
| commit_type | enum.DataCommitType | false | none | none | |
| dtm | string | false | none | none | |
| gid | string | false | none | none | |
| op | string | false | none | none | |
| phase2_url | string | false | none | none | |
| trans_type | string | false | none | none |
enum.DataCommitType
0属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| anonymous | integer(int32) | false | none | none |
枚举值
| 属性 | 值 |
|---|---|
| anonymous | 0 |
| anonymous | 1 |
| anonymous | 2 |
| anonymous | 3 |
| anonymous | 4 |
| anonymous | 5 |
| anonymous | 6 |
| anonymous | 10 |
common.NoDataResp
{}属性
None
enum.LocType
0属性
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| anonymous | integer(int32) | false | none | none |
枚举值
| 属性 | 值 |
|---|---|
| anonymous | 0 |
| anonymous | 1 |
| anonymous | 2 |