feat: minilogin改造

This commit is contained in:
Blizzard
2026-05-24 23:04:09 +08:00
parent 076ed1509b
commit da02247794
36 changed files with 3523 additions and 11653 deletions
File diff suppressed because it is too large Load Diff
+13
View File
@@ -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);
File diff suppressed because it is too large Load Diff