pull js seller affiliate statistic

This commit is contained in:
Nguyen Minh 2022-09-23 22:11:28 +07:00
parent d9763edd75
commit 68b9cab1e2
2 changed files with 8 additions and 8 deletions

View File

@ -3,8 +3,8 @@ package jsconsumer
// Selly ... // Selly ...
var Selly = struct { var Selly = struct {
PushNotification string PushNotification string
UpdateSellerStatistic string UpdateSellerAffiliateStatistic string
}{ }{
PushNotification: "PULL_PUSH_NOTIFICATION", PushNotification: "PULL_PUSH_NOTIFICATION",
UpdateSellerStatistic: "PULL_UPDATE_SELLER_STATISTIC", UpdateSellerAffiliateStatistic: "PULL_UPDATE_SELLER_AFFILIATE_STATISTIC",
} }

View File

@ -12,8 +12,8 @@ func getSellyValue(val string) string {
// Selly ... // Selly ...
var Selly = struct { var Selly = struct {
PushNotification string PushNotification string
UpdateSellerStatistic string UpdateSellerAffiliateStatistic string
}{ }{
PushNotification: getSellyValue("push_notifications"), PushNotification: getSellyValue("push_notifications"),
UpdateSellerStatistic: getSellyValue("update_seller_statistic"), UpdateSellerAffiliateStatistic: getSellyValue("update_seller_affiliate_statistic"),
} }