Feature/seller by #35
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue