支持购买套餐/续费套餐/用户账户操作等

This commit is contained in:
GoEdgeLab
2021-11-08 20:52:21 +08:00
parent 5cbb3b0691
commit a938c4ef57
16 changed files with 3379 additions and 163 deletions

View File

@@ -0,0 +1,24 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_user.proto";
import "models/model_user_account.proto";
message UserAccountLog {
int64 id = 1;
int64 userId = 2;
int64 userAccountId = 3;
float delta = 4;
float deltaFrozen = 5;
float total = 6;
float totalFrozen = 7;
string eventType = 8;
string description = 9;
int64 createdAt = 10;
bytes paramsJSON = 11;
User user = 30;
UserAccount userAccount = 31;
}