feat: completed development wecom message
This commit is contained in:
@@ -63,6 +63,9 @@ service Wecom {
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc CreateReviewChange(CreateReviewChangeReq) returns (Response);
|
||||
rpc SendMessage(SendMessageReq) returns (Response);
|
||||
}
|
||||
|
||||
message EmptyReq {}
|
||||
@@ -116,6 +119,27 @@ message DeleteUserReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
|
||||
// type: 1产品 2门店 3地址;before_data/after_data 为 JSON 字符串
|
||||
message CreateReviewChangeReq {
|
||||
uint32 type = 1;
|
||||
int64 biz_id = 2;
|
||||
string task_id = 3;
|
||||
string before_data = 4;
|
||||
string after_data = 5;
|
||||
int64 admin_id = 6;
|
||||
string admin_name = 7;
|
||||
}
|
||||
|
||||
// biz_type: 1产品 2门店 3地址 4销售;type: 消息场景;action: 0未用 1通过 2拒绝
|
||||
message SendMessageReq {
|
||||
int64 biz_id = 1;
|
||||
uint32 biz_type = 2;
|
||||
uint32 type = 3;
|
||||
uint32 action = 4;
|
||||
string reason = 5;
|
||||
string key = 6;
|
||||
}
|
||||
|
||||
message Response {
|
||||
int32 code = 1;
|
||||
string msg = 2;
|
||||
|
||||
Reference in New Issue
Block a user