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

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

View File

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