增加 DCI申诉接口
continuous-integration/drone/push Build is passing Details

dev
jhc 2 weeks ago
parent 88246afd0a
commit 80b5719b89

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="SwUserDefinedSpecifications">
<option name="specTypeByUrl">
<map />
</option>
</component>
</project>

@ -4,13 +4,13 @@ go 1.20
require (
dubbo.apache.org/dubbo-go/v3 v3.0.5
github.com/alibabacloud-go/tea v1.2.1
github.com/antchain-openapi-sdk-go/bccr v1.17.65
github.com/antchain-openapi-sdk-go/bccr v1.18.42
github.com/bwmarrin/snowflake v0.3.0
github.com/dubbogo/grpc-go v1.42.10
github.com/dubbogo/triple v1.2.2-rc2
github.com/gin-gonic/gin v1.9.1
github.com/go-redis/redis v6.15.9+incompatible
github.com/gocolly/colly/v2 v2.1.0
github.com/golang/protobuf v1.5.3
github.com/google/wire v0.5.0
github.com/jinzhu/copier v0.3.5
@ -21,6 +21,7 @@ require (
github.com/streadway/amqp v1.1.0
github.com/uber/jaeger-client-go v2.30.0+incompatible
go.uber.org/zap v1.26.0
google.golang.org/grpc v1.58.2
google.golang.org/protobuf v1.31.0
gorm.io/driver/mysql v1.5.2
gorm.io/gorm v1.25.5
@ -38,10 +39,11 @@ require (
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 // indirect
github.com/alibaba/sentinel-golang v1.0.4 // indirect
github.com/alibabacloud-go/debug v0.0.0-20190504072949-9472017b5c68 // indirect
github.com/alibabacloud-go/tea v1.2.1 // indirect
github.com/alibabacloud-go/tea-oss-utils v1.1.0 // indirect
github.com/alibabacloud-go/tea-rpc-utils v1.1.2 // indirect
github.com/alibabacloud-go/tea-utils v1.3.8 // indirect
github.com/alibabacloud-go/tea-utils/v2 v2.0.4 // indirect
github.com/alibabacloud-go/tea-utils/v2 v2.0.5 // indirect
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704 // indirect
github.com/andybalholm/cascadia v1.2.0 // indirect
github.com/antchain-openapi-sdk-go/antchain-util v0.0.7 // indirect
@ -86,7 +88,6 @@ require (
github.com/go-sql-driver/mysql v1.7.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gocolly/colly/v2 v2.1.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
@ -160,19 +161,18 @@ require (
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.12.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
google.golang.org/grpc v1.58.2 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect

@ -88,8 +88,8 @@ github.com/alibabacloud-go/tea-rpc-utils v1.1.2 h1:ZTfFREnP2q9D49T2J/1jYYOndepGd
github.com/alibabacloud-go/tea-rpc-utils v1.1.2/go.mod h1:V5HdNi6Xdn0JMpgVhQ19vsFAS51tydr7BqcJtuXH1Yw=
github.com/alibabacloud-go/tea-utils v1.3.8 h1:L+10Gwm25Ma2dEf8DiPODPSj887ZIiLlNNSGak6TKJM=
github.com/alibabacloud-go/tea-utils v1.3.8/go.mod h1:EI/o33aBfj3hETm4RLiAxF/ThQdSngxrpF8rKUDJjPE=
github.com/alibabacloud-go/tea-utils/v2 v2.0.4 h1:SoFgjJuO7pze88j9RBJNbKb7AgTS52O+J5ITxc00lCs=
github.com/alibabacloud-go/tea-utils/v2 v2.0.4/go.mod h1:sj1PbjPodAVTqGTA3olprfeeqqmwD0A5OQz94o9EuXQ=
github.com/alibabacloud-go/tea-utils/v2 v2.0.5 h1:EUakYEUAwr6L3wLT0vejIw2rc0IA1RSXDwLnIb3f2vU=
github.com/alibabacloud-go/tea-utils/v2 v2.0.5/go.mod h1:dL6vbUT35E4F4bFTHL845eUloqaerYBYPsdWR2/jhe4=
github.com/aliyun/alibaba-cloud-sdk-go v1.61.18/go.mod h1:v8ESoHo4SyHmuB4b1tJqDHxfTGEciD+yhvOU/5s1Rfk=
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704 h1:PpfENOj/vPfhhy9N2OFRjpue0hjM5XqAp2thFmkXXIk=
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704/go.mod h1:RcDobYh8k5VP6TNybz9m++gL3ijVI5wueVr0EM10VsU=
@ -98,8 +98,8 @@ github.com/andybalholm/cascadia v1.2.0 h1:vuRCkM5Ozh/BfmsaTm26kbjm0mIOM3yS5Ek/F5
github.com/andybalholm/cascadia v1.2.0/go.mod h1:YCyR8vOZT9aZ1CHEd8ap0gMVm2aFgxBp0T0eFw1RUQY=
github.com/antchain-openapi-sdk-go/antchain-util v0.0.7 h1:aa6GLaNNE3HryG71Kxjza4Tu9EZQcZv0G/v+q3By4gw=
github.com/antchain-openapi-sdk-go/antchain-util v0.0.7/go.mod h1:pi99Uu97pcsfyUNaaMcABSQS3HjuY+066s/3iDgVJSk=
github.com/antchain-openapi-sdk-go/bccr v1.17.65 h1:fHhZKkdc+VXIL1zLiOJUwj+H0CFC0W5yxTWZa/XYUhE=
github.com/antchain-openapi-sdk-go/bccr v1.17.65/go.mod h1:DDiROzBPAnhmbVfV1aXyxftMutYeLpdZKAfCZfv/P/I=
github.com/antchain-openapi-sdk-go/bccr v1.18.42 h1:jNEM1zjQBocokvWs42RfUmfNopllUXLmSP9PATa2GUo=
github.com/antchain-openapi-sdk-go/bccr v1.18.42/go.mod h1:ZoNYKVM7JmqivBie9LAov65RiCnf9kcYC+IX4++/zLc=
github.com/antchfx/htmlquery v1.2.3 h1:sP3NFDneHx2stfNXCKbhHFo8XgNjCACnU/4AO5gWz6M=
github.com/antchfx/htmlquery v1.2.3/go.mod h1:B0ABL+F5irhhMWg54ymEZinzMSi0Kt3I2if0BLYa3V0=
github.com/antchfx/xmlquery v1.2.4 h1:T/SH1bYdzdjTMoz2RgsfVKbM5uWh3gjDYYepFqQmFv4=
@ -344,7 +344,6 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
github.com/gocolly/colly v1.2.0 h1:qRz9YAn8FIH0qzgNUw+HT9UN7wm1oF9OBAilwEWpyrI=
github.com/gocolly/colly v1.2.0/go.mod h1:Hof5T3ZswNVsOHYmba1u03W65HDWgpV5HifSuueE0EA=
github.com/gocolly/colly/v2 v2.1.0 h1:k0DuZkDoCsx51bKpRJNEmcxcp+W5N8ziuwGaSDuFoGs=
github.com/gocolly/colly/v2 v2.1.0/go.mod h1:I2MuhsLjQ+Ex+IzK3afNS8/1qP3AedHOusRPcRdC5o0=
@ -1026,8 +1025,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I=
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@ -1130,11 +1129,10 @@ golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ=
golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@ -1254,13 +1252,14 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo=
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

@ -104,3 +104,9 @@ func (d *DciProvider) CloseDciRegistration(_ context.Context, req *dci.CloseDciR
res, err = d.dciReg.CloseDciRegistration(req)
return
}
func (d *DciProvider) SubmitDciFeedback(_ context.Context, req *dci.SubmitDciFeedbackRequest) (res *dci.SubmitDciFeedbackResponse, err error) {
res = new(dci.SubmitDciFeedbackResponse)
res, err = d.dciWork.SubmitDciFeedback(req)
return
}

@ -13,6 +13,7 @@ import (
type IDciWork interface {
CreateDciPreregistration(req *dci.CreateDciPreregistrationRequest) (res *dci.CreateDciPreregistrationResponse, err error)
QueryDciPreregistration(req *dci.QueryDciPreregistrationRequest) (res *dci.QueryDciPreregistrationResponse, err error)
SubmitDciFeedback(req *dci.SubmitDciFeedbackRequest) (res *dci.SubmitDciFeedbackResponse, err error)
}
type DciWork struct {
@ -65,3 +66,46 @@ func (w *DciWork) QueryDciPreregistration(req *dci.QueryDciPreregistrationReques
return
}
// SubmitDciFeedback 作品 DCI 申诉
func (w *DciWork) SubmitDciFeedback(req *dci.SubmitDciFeedbackRequest) (res *dci.SubmitDciFeedbackResponse, err error) {
errCommon.NoReturnInfo(req, "作品 DCI 申诉 参数信息: ")
res = new(dci.SubmitDciFeedbackResponse)
submitDciFeedbackRequest := new(bccrClient.SubmitDciFeedbackRequest)
_ = copier.CopyWithOption(&submitDciFeedbackRequest, req, copier.Option{DeepCopy: false})
submitDciFeedbackResponse, err := app.ModuleClients.BccrClient.SubmitDciFeedback(submitDciFeedbackRequest)
if err != nil {
return nil, errCommon.ReturnError(err, msg.ErrSubmitDciFeedback, "作品 DCI 申诉 失败: ")
}
errCommon.NoReturnInfo(submitDciFeedbackResponse, "作品 DCI 申诉 成功: ")
_ = copier.CopyWithOption(&res, submitDciFeedbackResponse, copier.Option{DeepCopy: false})
return
}
/*// QueryDciFeedback 作品 DCI 申诉 查询
func (w *DciWork) QueryDciFeedback(req *dci.SubmitDciFeedbackRequest) (res *dci.SubmitDciFeedbackResponse, err error) {
errCommon.NoReturnInfo(req, "作品 DCI 申诉 参数信息: ")
res = new(dci.SubmitDciFeedbackResponse)
submitDciFeedbackRequest := new(bccrClient.SubmitDciFeedbackRequest)
_ = copier.CopyWithOption(&submitDciFeedbackRequest, req, copier.Option{DeepCopy: false})
submitDciFeedbackResponse, err := app.ModuleClients.BccrClient.QueryDciFeedback(submitDciFeedbackRequest)
if err != nil {
return nil, errCommon.ReturnError(err, msg.ErrSubmitDciFeedback, "作品 DCI 申诉 失败: ")
}
errCommon.NoReturnInfo(submitDciFeedbackResponse, "作品 DCI 申诉 成功: ")
_ = copier.CopyWithOption(&res, submitDciFeedbackResponse, copier.Option{DeepCopy: false})
return
}
*/

@ -18,6 +18,7 @@ service Dci {
// dci work
rpc CreateDciPreregistration(CreateDciPreregistrationRequest) returns (CreateDciPreregistrationResponse);
rpc QueryDciPreregistration(QueryDciPreregistrationRequest) returns (QueryDciPreregistrationResponse);
rpc SubmitDciFeedback(SubmitDciFeedbackRequest) returns (SubmitDciFeedbackResponse);
// rpc RetryDciPreregistration(RetryDciPreregistrationRequest) returns ();
//
@ -320,3 +321,18 @@ message CloseDciRegistrationResponse {
string resultMsg = 2 [json_name = "resultMsg"];
string reqMsgId = 3 [json_name = "reqMsgId"];
}
message SubmitDciFeedbackRequest {
string serviceId = 1 [json_name = "serviceId",(validator.field) = {string_not_empty: true,human_error:"业务ID"}];
string contactName = 2 [json_name = "contactName",(validator.field) = {string_not_empty: true,human_error:"联系人"}];
string contactPhoneNumber = 3 [json_name = "contactPhoneNumber",(validator.field) = {string_not_empty: true,human_error:"联系电话"}];
string message = 4 [json_name = "message",(validator.field) = {string_not_empty: true,human_error:"申诉原因"}];
string clientToken = 5 [json_name = "clientToken"];
string feedbackType = 6 [json_name = "feedbackType",(validator.field) = {string_not_empty: true,human_error:"反馈类型"}];
}
message SubmitDciFeedbackResponse {
string resultCode = 1 [json_name = "resultCode"];
string resultMsg = 2 [json_name = "resultMsg"];
string reqMsgId = 3 [json_name = "reqMsgId"];
}

@ -2707,6 +2707,156 @@ func (x *CloseDciRegistrationResponse) GetReqMsgId() string {
return ""
}
type SubmitDciFeedbackRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId"`
ContactName string `protobuf:"bytes,2,opt,name=contactName,proto3" json:"contactName"`
ContactPhoneNumber string `protobuf:"bytes,3,opt,name=contactPhoneNumber,proto3" json:"contactPhoneNumber"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message"`
ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken"`
FeedbackType string `protobuf:"bytes,6,opt,name=feedbackType,proto3" json:"feedbackType"`
}
func (x *SubmitDciFeedbackRequest) Reset() {
*x = SubmitDciFeedbackRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_dci_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubmitDciFeedbackRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubmitDciFeedbackRequest) ProtoMessage() {}
func (x *SubmitDciFeedbackRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_dci_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SubmitDciFeedbackRequest.ProtoReflect.Descriptor instead.
func (*SubmitDciFeedbackRequest) Descriptor() ([]byte, []int) {
return file_pb_dci_proto_rawDescGZIP(), []int{32}
}
func (x *SubmitDciFeedbackRequest) GetServiceId() string {
if x != nil {
return x.ServiceId
}
return ""
}
func (x *SubmitDciFeedbackRequest) GetContactName() string {
if x != nil {
return x.ContactName
}
return ""
}
func (x *SubmitDciFeedbackRequest) GetContactPhoneNumber() string {
if x != nil {
return x.ContactPhoneNumber
}
return ""
}
func (x *SubmitDciFeedbackRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *SubmitDciFeedbackRequest) GetClientToken() string {
if x != nil {
return x.ClientToken
}
return ""
}
func (x *SubmitDciFeedbackRequest) GetFeedbackType() string {
if x != nil {
return x.FeedbackType
}
return ""
}
type SubmitDciFeedbackResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode"`
ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg"`
ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId"`
}
func (x *SubmitDciFeedbackResponse) Reset() {
*x = SubmitDciFeedbackResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_dci_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubmitDciFeedbackResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubmitDciFeedbackResponse) ProtoMessage() {}
func (x *SubmitDciFeedbackResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_dci_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SubmitDciFeedbackResponse.ProtoReflect.Descriptor instead.
func (*SubmitDciFeedbackResponse) Descriptor() ([]byte, []int) {
return file_pb_dci_proto_rawDescGZIP(), []int{33}
}
func (x *SubmitDciFeedbackResponse) GetResultCode() string {
if x != nil {
return x.ResultCode
}
return ""
}
func (x *SubmitDciFeedbackResponse) GetResultMsg() string {
if x != nil {
return x.ResultMsg
}
return ""
}
func (x *SubmitDciFeedbackResponse) GetReqMsgId() string {
if x != nil {
return x.ReqMsgId
}
return ""
}
var File_pb_dci_proto protoreflect.FileDescriptor
var file_pb_dci_proto_rawDesc = []byte{
@ -3308,77 +3458,110 @@ var file_pb_dci_proto_rawDesc = []byte{
0x09, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72,
0x65, 0x71, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72,
0x65, 0x71, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x32, 0xc6, 0x08, 0x0a, 0x03, 0x44, 0x63, 0x69, 0x12,
0x43, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12,
0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55,
0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e,
0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73,
0x65, 0x72, 0x12, 0x16, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x63, 0x69,
0x2e, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69,
0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x1a, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x51,
0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x64, 0x63,
0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72,
0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x67, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x64,
0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72,
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x25, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,
0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x17, 0x51, 0x75, 0x65,
0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
0x65, 0x71, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x22, 0xd1, 0x02, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x6d,
0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xe2, 0xdf, 0x1f, 0x0c, 0x2a, 0x08, 0xe4,
0xb8, 0x9a, 0xe5, 0x8a, 0xa1, 0x49, 0x44, 0x58, 0x01, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x4e,
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xe2, 0xdf, 0x1f, 0x0d, 0x2a,
0x09, 0xe8, 0x81, 0x94, 0xe7, 0xb3, 0xbb, 0xe4, 0xba, 0xba, 0x58, 0x01, 0x52, 0x0b, 0x63, 0x6f,
0x6e, 0x74, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x63, 0x6f, 0x6e,
0x74, 0x61, 0x63, 0x74, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xe2, 0xdf, 0x1f, 0x10, 0x2a, 0x0c, 0xe8, 0x81, 0x94,
0xe7, 0xb3, 0xbb, 0xe7, 0x94, 0xb5, 0xe8, 0xaf, 0x9d, 0x58, 0x01, 0x52, 0x12, 0x63, 0x6f, 0x6e,
0x74, 0x61, 0x63, 0x74, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x42, 0x14, 0xe2, 0xdf, 0x1f, 0x10, 0x2a, 0x0c, 0xe7, 0x94, 0xb3, 0xe8, 0xaf, 0x89, 0xe5, 0x8e,
0x9f, 0xe5, 0x9b, 0xa0, 0x58, 0x01, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65,
0x6e, 0x12, 0x38, 0x0a, 0x0c, 0x66, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x79, 0x70,
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xe2, 0xdf, 0x1f, 0x10, 0x2a, 0x0c, 0xe5,
0x8f, 0x8d, 0xe9, 0xa6, 0x88, 0xe7, 0xb1, 0xbb, 0xe5, 0x9e, 0x8b, 0x58, 0x01, 0x52, 0x0c, 0x66,
0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x75, 0x0a, 0x19, 0x53,
0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x73,
0x75, 0x6c, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x4d, 0x73, 0x67,
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x71, 0x4d, 0x73, 0x67,
0x49, 0x64, 0x32, 0x9a, 0x09, 0x0a, 0x03, 0x44, 0x63, 0x69, 0x12, 0x43, 0x0a, 0x0c, 0x47, 0x65,
0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x2e, 0x64, 0x63, 0x69,
0x2e, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x70,
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x3d, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e,
0x64, 0x63, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x44,
0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46,
0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x12,
0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x64, 0x63, 0x69,
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44,
0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65,
0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69,
0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x72,
0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x64, 0x63, 0x69, 0x2e,
0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x5e, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x63,
0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x5b, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75,
0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e,
0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c,
0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x2e, 0x64,
0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74,
0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x40, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79,
0x12, 0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50,
0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e,
0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x12, 0x22, 0x2e,
0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44,
0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20,
0x2e, 0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52,
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52,
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63,
0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
0x64, 0x63, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x64, 0x63, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x11, 0x53, 0x75,
0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x12,
0x1d, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46,
0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e,
0x2e, 0x64, 0x63, 0x69, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65,
0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e,
0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x63, 0x69,
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b,
0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65,
0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51,
0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x47,
0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x2e, 0x64, 0x63,
0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44,
0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x40, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x12,
0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61,
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51,
0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x12, 0x22, 0x2e, 0x64,
0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63,
0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e,
0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69,
0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64,
0x63, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x64, 0x63, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -3393,7 +3576,7 @@ func file_pb_dci_proto_rawDescGZIP() []byte {
return file_pb_dci_proto_rawDescData
}
var file_pb_dci_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
var file_pb_dci_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
var file_pb_dci_proto_goTypes = []interface{}{
(*GetUploadUrlRequest)(nil), // 0: dci.GetUploadUrlRequest
(*GetUploadUrlResponse)(nil), // 1: dci.GetUploadUrlResponse
@ -3427,6 +3610,8 @@ var file_pb_dci_proto_goTypes = []interface{}{
(*RetryDciRegistrationResponse)(nil), // 29: dci.RetryDciRegistrationResponse
(*CloseDciRegistrationRequest)(nil), // 30: dci.CloseDciRegistrationRequest
(*CloseDciRegistrationResponse)(nil), // 31: dci.CloseDciRegistrationResponse
(*SubmitDciFeedbackRequest)(nil), // 32: dci.SubmitDciFeedbackRequest
(*SubmitDciFeedbackResponse)(nil), // 33: dci.SubmitDciFeedbackResponse
}
var file_pb_dci_proto_depIdxs = []int32{
9, // 0: dci.CreateDciPreregistrationRequest.creationInfo:type_name -> dci.DciCreationInfo
@ -3443,28 +3628,30 @@ var file_pb_dci_proto_depIdxs = []int32{
6, // 11: dci.Dci.QueryDciUser:input_type -> dci.QueryDciUserRequest
8, // 12: dci.Dci.CreateDciPreregistration:input_type -> dci.CreateDciPreregistrationRequest
13, // 13: dci.Dci.QueryDciPreregistration:input_type -> dci.QueryDciPreregistrationRequest
15, // 14: dci.Dci.CreateDciRegistration:input_type -> dci.CreateDciRegistrationRequest
20, // 15: dci.Dci.QueryDciRegistration:input_type -> dci.QueryDciRegistrationRequest
22, // 16: dci.Dci.GetDciPayUrl:input_type -> dci.GetDciPayUrlRequest
24, // 17: dci.Dci.QueryDciPay:input_type -> dci.QueryDciPayRequest
26, // 18: dci.Dci.GetDciRegistrationcert:input_type -> dci.GetDciRegistrationcertRequest
28, // 19: dci.Dci.RetryDciRegistration:input_type -> dci.RetryDciRegistrationRequest
30, // 20: dci.Dci.CloseDciRegistration:input_type -> dci.CloseDciRegistrationRequest
1, // 21: dci.Dci.GetUploadUrl:output_type -> dci.GetUploadUrlResponse
3, // 22: dci.Dci.AddDciUser:output_type -> dci.AddDciUserResponse
5, // 23: dci.Dci.UpdateDciUser:output_type -> dci.UpdateDciUserResponse
7, // 24: dci.Dci.QueryDciUser:output_type -> dci.QueryDciUserResponse
12, // 25: dci.Dci.CreateDciPreregistration:output_type -> dci.CreateDciPreregistrationResponse
14, // 26: dci.Dci.QueryDciPreregistration:output_type -> dci.QueryDciPreregistrationResponse
19, // 27: dci.Dci.CreateDciRegistration:output_type -> dci.CreateDciRegistrationResponse
21, // 28: dci.Dci.QueryDciRegistration:output_type -> dci.QueryDciRegistrationResponse
23, // 29: dci.Dci.GetDciPayUrl:output_type -> dci.GetDciPayUrlResponse
25, // 30: dci.Dci.QueryDciPay:output_type -> dci.QueryDciPayResponse
27, // 31: dci.Dci.GetDciRegistrationcert:output_type -> dci.GetDciRegistrationcertResponse
29, // 32: dci.Dci.RetryDciRegistration:output_type -> dci.RetryDciRegistrationResponse
31, // 33: dci.Dci.CloseDciRegistration:output_type -> dci.CloseDciRegistrationResponse
21, // [21:34] is the sub-list for method output_type
8, // [8:21] is the sub-list for method input_type
32, // 14: dci.Dci.SubmitDciFeedback:input_type -> dci.SubmitDciFeedbackRequest
15, // 15: dci.Dci.CreateDciRegistration:input_type -> dci.CreateDciRegistrationRequest
20, // 16: dci.Dci.QueryDciRegistration:input_type -> dci.QueryDciRegistrationRequest
22, // 17: dci.Dci.GetDciPayUrl:input_type -> dci.GetDciPayUrlRequest
24, // 18: dci.Dci.QueryDciPay:input_type -> dci.QueryDciPayRequest
26, // 19: dci.Dci.GetDciRegistrationcert:input_type -> dci.GetDciRegistrationcertRequest
28, // 20: dci.Dci.RetryDciRegistration:input_type -> dci.RetryDciRegistrationRequest
30, // 21: dci.Dci.CloseDciRegistration:input_type -> dci.CloseDciRegistrationRequest
1, // 22: dci.Dci.GetUploadUrl:output_type -> dci.GetUploadUrlResponse
3, // 23: dci.Dci.AddDciUser:output_type -> dci.AddDciUserResponse
5, // 24: dci.Dci.UpdateDciUser:output_type -> dci.UpdateDciUserResponse
7, // 25: dci.Dci.QueryDciUser:output_type -> dci.QueryDciUserResponse
12, // 26: dci.Dci.CreateDciPreregistration:output_type -> dci.CreateDciPreregistrationResponse
14, // 27: dci.Dci.QueryDciPreregistration:output_type -> dci.QueryDciPreregistrationResponse
33, // 28: dci.Dci.SubmitDciFeedback:output_type -> dci.SubmitDciFeedbackResponse
19, // 29: dci.Dci.CreateDciRegistration:output_type -> dci.CreateDciRegistrationResponse
21, // 30: dci.Dci.QueryDciRegistration:output_type -> dci.QueryDciRegistrationResponse
23, // 31: dci.Dci.GetDciPayUrl:output_type -> dci.GetDciPayUrlResponse
25, // 32: dci.Dci.QueryDciPay:output_type -> dci.QueryDciPayResponse
27, // 33: dci.Dci.GetDciRegistrationcert:output_type -> dci.GetDciRegistrationcertResponse
29, // 34: dci.Dci.RetryDciRegistration:output_type -> dci.RetryDciRegistrationResponse
31, // 35: dci.Dci.CloseDciRegistration:output_type -> dci.CloseDciRegistrationResponse
22, // [22:36] is the sub-list for method output_type
8, // [8:22] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
@ -3860,6 +4047,30 @@ func file_pb_dci_proto_init() {
return nil
}
}
file_pb_dci_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubmitDciFeedbackRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_dci_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubmitDciFeedbackResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
@ -3867,7 +4078,7 @@ func file_pb_dci_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pb_dci_proto_rawDesc,
NumEnums: 0,
NumMessages: 32,
NumMessages: 34,
NumExtensions: 0,
NumServices: 1,
},

@ -305,3 +305,24 @@ func (this *CloseDciRegistrationRequest) Validate() error {
func (this *CloseDciRegistrationResponse) Validate() error {
return nil
}
func (this *SubmitDciFeedbackRequest) Validate() error {
if this.ServiceId == "" {
return github_com_mwitkow_go_proto_validators.FieldError("ServiceId", fmt.Errorf(`业务ID`))
}
if this.ContactName == "" {
return github_com_mwitkow_go_proto_validators.FieldError("ContactName", fmt.Errorf(`联系人`))
}
if this.ContactPhoneNumber == "" {
return github_com_mwitkow_go_proto_validators.FieldError("ContactPhoneNumber", fmt.Errorf(`联系电话`))
}
if this.Message == "" {
return github_com_mwitkow_go_proto_validators.FieldError("Message", fmt.Errorf(`申诉原因`))
}
if this.FeedbackType == "" {
return github_com_mwitkow_go_proto_validators.FieldError("FeedbackType", fmt.Errorf(`反馈类型`))
}
return nil
}
func (this *SubmitDciFeedbackResponse) Validate() error {
return nil
}

@ -37,6 +37,7 @@ type DciClient interface {
// dci work
CreateDciPreregistration(ctx context.Context, in *CreateDciPreregistrationRequest, opts ...grpc_go.CallOption) (*CreateDciPreregistrationResponse, common.ErrorWithAttachment)
QueryDciPreregistration(ctx context.Context, in *QueryDciPreregistrationRequest, opts ...grpc_go.CallOption) (*QueryDciPreregistrationResponse, common.ErrorWithAttachment)
SubmitDciFeedback(ctx context.Context, in *SubmitDciFeedbackRequest, opts ...grpc_go.CallOption) (*SubmitDciFeedbackResponse, common.ErrorWithAttachment)
// 数登
CreateDciRegistration(ctx context.Context, in *CreateDciRegistrationRequest, opts ...grpc_go.CallOption) (*CreateDciRegistrationResponse, common.ErrorWithAttachment)
QueryDciRegistration(ctx context.Context, in *QueryDciRegistrationRequest, opts ...grpc_go.CallOption) (*QueryDciRegistrationResponse, common.ErrorWithAttachment)
@ -58,6 +59,7 @@ type DciClientImpl struct {
QueryDciUser func(ctx context.Context, in *QueryDciUserRequest) (*QueryDciUserResponse, error)
CreateDciPreregistration func(ctx context.Context, in *CreateDciPreregistrationRequest) (*CreateDciPreregistrationResponse, error)
QueryDciPreregistration func(ctx context.Context, in *QueryDciPreregistrationRequest) (*QueryDciPreregistrationResponse, error)
SubmitDciFeedback func(ctx context.Context, in *SubmitDciFeedbackRequest) (*SubmitDciFeedbackResponse, error)
CreateDciRegistration func(ctx context.Context, in *CreateDciRegistrationRequest) (*CreateDciRegistrationResponse, error)
QueryDciRegistration func(ctx context.Context, in *QueryDciRegistrationRequest) (*QueryDciRegistrationResponse, error)
GetDciPayUrl func(ctx context.Context, in *GetDciPayUrlRequest) (*GetDciPayUrlResponse, error)
@ -115,6 +117,12 @@ func (c *dciClient) QueryDciPreregistration(ctx context.Context, in *QueryDciPre
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/QueryDciPreregistration", in, out)
}
func (c *dciClient) SubmitDciFeedback(ctx context.Context, in *SubmitDciFeedbackRequest, opts ...grpc_go.CallOption) (*SubmitDciFeedbackResponse, common.ErrorWithAttachment) {
out := new(SubmitDciFeedbackResponse)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SubmitDciFeedback", in, out)
}
func (c *dciClient) CreateDciRegistration(ctx context.Context, in *CreateDciRegistrationRequest, opts ...grpc_go.CallOption) (*CreateDciRegistrationResponse, common.ErrorWithAttachment) {
out := new(CreateDciRegistrationResponse)
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
@ -170,6 +178,7 @@ type DciServer interface {
// dci work
CreateDciPreregistration(context.Context, *CreateDciPreregistrationRequest) (*CreateDciPreregistrationResponse, error)
QueryDciPreregistration(context.Context, *QueryDciPreregistrationRequest) (*QueryDciPreregistrationResponse, error)
SubmitDciFeedback(context.Context, *SubmitDciFeedbackRequest) (*SubmitDciFeedbackResponse, error)
// 数登
CreateDciRegistration(context.Context, *CreateDciRegistrationRequest) (*CreateDciRegistrationResponse, error)
QueryDciRegistration(context.Context, *QueryDciRegistrationRequest) (*QueryDciRegistrationResponse, error)
@ -204,6 +213,9 @@ func (UnimplementedDciServer) CreateDciPreregistration(context.Context, *CreateD
func (UnimplementedDciServer) QueryDciPreregistration(context.Context, *QueryDciPreregistrationRequest) (*QueryDciPreregistrationResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method QueryDciPreregistration not implemented")
}
func (UnimplementedDciServer) SubmitDciFeedback(context.Context, *SubmitDciFeedbackRequest) (*SubmitDciFeedbackResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SubmitDciFeedback not implemented")
}
func (UnimplementedDciServer) CreateDciRegistration(context.Context, *CreateDciRegistrationRequest) (*CreateDciRegistrationResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateDciRegistration not implemented")
}
@ -427,6 +439,35 @@ func _Dci_QueryDciPreregistration_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
func _Dci_SubmitDciFeedback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(SubmitDciFeedbackRequest)
if err := dec(in); err != nil {
return nil, err
}
base := srv.(dubbo3.Dubbo3GrpcService)
args := []interface{}{}
args = append(args, in)
md, _ := metadata.FromIncomingContext(ctx)
invAttachment := make(map[string]interface{}, len(md))
for k, v := range md {
invAttachment[k] = v
}
invo := invocation.NewRPCInvocation("SubmitDciFeedback", args, invAttachment)
if interceptor == nil {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
info := &grpc_go.UnaryServerInfo{
Server: srv,
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
return result, result.Error()
}
return interceptor(ctx, in, info, handler)
}
func _Dci_CreateDciRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateDciRegistrationRequest)
if err := dec(in); err != nil {
@ -661,6 +702,10 @@ var Dci_ServiceDesc = grpc_go.ServiceDesc{
MethodName: "QueryDciPreregistration",
Handler: _Dci_QueryDciPreregistration_Handler,
},
{
MethodName: "SubmitDciFeedback",
Handler: _Dci_SubmitDciFeedback_Handler,
},
{
MethodName: "CreateDciRegistration",
Handler: _Dci_CreateDciRegistration_Handler,

@ -15,4 +15,5 @@ const (
ErrGetDciRegistrationcert = "获取数登证书下载失败"
ErrRetryDciRegistration = "补正申请失败"
ErrCloseDciRegistration = "数登停止申请失败"
ErrSubmitDciFeedback = "作品DCI申诉失败"
)

Loading…
Cancel
Save