源站增加快速停用/启用功能
This commit is contained in:
@@ -9485,6 +9485,18 @@
|
||||
"user"
|
||||
],
|
||||
"isDeprecated": false
|
||||
},
|
||||
{
|
||||
"name": "updateOriginIsOn",
|
||||
"requestMessageName": "UpdateOriginIsOnRequest",
|
||||
"responseMessageName": "RPCSuccess",
|
||||
"code": "rpc updateOriginIsOn(UpdateOriginIsOnRequest) returns (RPCSuccess);",
|
||||
"doc": "设置源站是否启用",
|
||||
"roles": [
|
||||
"admin",
|
||||
"user"
|
||||
],
|
||||
"isDeprecated": false
|
||||
}
|
||||
],
|
||||
"filename": "service_origin.proto",
|
||||
@@ -23253,6 +23265,11 @@
|
||||
"code": "message UpdateOrderMethodRequest {\n\tint64 orderMethodId = 1;\n\tstring name = 2;\n\tstring code = 3;\n\tstring description = 4;\n\n\tstring url = 5;\n\n\tbytes paramsJSON = 7; // 预设支付方式参数\n\n\tbool isOn = 6;\n\tstring clientType = 8;\n\tstring qrcodeTitle = 9;\n}",
|
||||
"doc": "修改支付方式\n不允许修改父级支付方式"
|
||||
},
|
||||
{
|
||||
"name": "UpdateOriginIsOnRequest",
|
||||
"code": "message UpdateOriginIsOnRequest {\n\tint64 originId = 1; // 源站ID\n\tbool isOn = 2; // 是否启用\n}",
|
||||
"doc": "设置源站是否启用"
|
||||
},
|
||||
{
|
||||
"name": "UpdateOriginRequest",
|
||||
"code": "message UpdateOriginRequest {\n\tint64 originId = 1; // 源站ID\n\tstring name = 2; // 可选项\n\tNetworkAddress addr = 3; // 源站网络地址\n\tbytes ossJSON = 16; // OSS配置信息,源站网络地址中protocol为oss:开头时需要设置此项\n\tstring description = 4; // 可选项\n\tint32 weight = 5; // 权重,不小于0,一般设置为10\n\tbool isOn = 6; // 是否启用\n\tbytes connTimeoutJSON = 7; // 可选项\n\tbytes readTimeoutJSON = 8; // 可选项\n\tbytes idleTimeoutJSON = 9; // 可选项\n\tint32 maxConns = 10; // 可选项\n\tint32 maxIdleConns = 11; // 可选项\n\trepeated string domains = 12; // 可选项\n\tbytes certRefJSON = 13; // 可选项\n\tstring host = 14; // 可选项\n\tbool followPort = 15; // 可选项\n\tbool http2Enabled = 17; // 可选项,是否支持HTTP/2,只在HTTPS源站时生效\n}",
|
||||
|
||||
Reference in New Issue
Block a user