fix(network): update network statistics and tree documentation
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 10m15s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 10m15s
- Updated README to reflect the new documentation location. - Refactored GetNetworkStatisticsQueryHandler to improve method naming and logic for loading package holder counts. - Enhanced GetNetworkStatisticsResponseDto and NetworkTreeDto to clarify the purpose of leg total properties. - Updated Protobuf definitions to align with the new response structure for network statistics. - Removed obsolete SQL scripts related to user package purchases and DayaLoan contracts cleanup.
This commit is contained in:
@@ -209,7 +209,7 @@ 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;
|
||||
@@ -328,7 +328,7 @@ message GetMyNetworkStatisticsResponse
|
||||
string my_network_leg = 11;
|
||||
string my_referral_code = 12;
|
||||
CustomerLastMemberModel last_member = 13;
|
||||
// آخرین NetworkWeeklyBalance خود کاربر — برای نوار آمار پایین شجره (D3)
|
||||
// تعداد اعضای فعال با پکیج جاری در پای چپ/راست — نوار آمار پایین شجره (D3)
|
||||
int32 gold_left_leg_total = 14;
|
||||
int32 gold_right_leg_total = 15;
|
||||
int32 silver_left_leg_total = 16;
|
||||
|
||||
Reference in New Issue
Block a user