feat: minilogin改造
This commit is contained in:
@@ -42,6 +42,18 @@ message PlantUserProfile {
|
||||
int64 repotCount = 13;
|
||||
int64 pruneCount = 14;
|
||||
int64 photoCount = 15;
|
||||
string miniOpenId = 16;
|
||||
string sessionKey = 17;
|
||||
string unionId = 18;
|
||||
string saOpenId = 19;
|
||||
}
|
||||
|
||||
message FindOrCreateUserByOpenIdReq {
|
||||
string openId = 1;
|
||||
string sessionKey = 2;
|
||||
string clientId = 3;
|
||||
string unionId = 4;
|
||||
string saOpenId = 5;
|
||||
}
|
||||
|
||||
message GetProfileReq {
|
||||
@@ -778,6 +790,7 @@ message AiChatHistoryResp {
|
||||
service PlantService {
|
||||
// 用户Profile
|
||||
rpc GetUserProfile(GetProfileReq) returns (PlantUserProfile);
|
||||
rpc FindOrCreateUserByOpenId(FindOrCreateUserByOpenIdReq) returns (PlantUserProfile);
|
||||
rpc UpdateUserProfile(UpdateProfileReq) returns (CommonResp);
|
||||
rpc GetMyBadges(GetProfileReq) returns (UserBadgeListResp);
|
||||
rpc GetMyStars(GetProfileReq) returns (UserStarListResp);
|
||||
|
||||
Reference in New Issue
Block a user