feat(network): enrich network tree with package leg scores and update Protobuf definitions
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 12m47s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 12m47s
- Added logic to enrich the network tree with the latest left/right leg totals for gold and silver packages in GetNetworkTreeQueryHandler. - Introduced new properties in NetworkTreeDto for GoldLeftLegTotal, GoldRightLegTotal, SilverLeftLegTotal, and SilverRightLegTotal. - Updated Protobuf definitions to include new fields for leg scores in NetworkTreeNodeModel. - Enhanced mapping in NetworkMembershipProfile and NetworkMembershipService to accommodate new leg score properties. - Bumped Protobuf project version to reflect the addition of new features.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>0.0.209</Version>
|
||||
<Version>0.0.210</Version>
|
||||
<DebugType>None</DebugType>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
||||
|
||||
@@ -209,6 +209,11 @@ message NetworkTreeNodeModel
|
||||
google.protobuf.BoolValue is_new_activation = 22; // true=اولین فعالسازی، false=خرید مجدد، null=بدون Cycle
|
||||
string package_name = 23; // نام پکیج موثر
|
||||
google.protobuf.Int64Value package_id = 24; // شناسه پکیج
|
||||
// آخرین NetworkWeeklyBalance: امتیاز پای چپ/راست برای پکیج طلایی و نقرهای (D3)
|
||||
int32 gold_left_leg_total = 25;
|
||||
int32 gold_right_leg_total = 26;
|
||||
int32 silver_left_leg_total = 27;
|
||||
int32 silver_right_leg_total = 28;
|
||||
}
|
||||
|
||||
// GetHistory Query
|
||||
|
||||
Reference in New Issue
Block a user