natsio/subject/seller.go

30 lines
987 B
Go
Raw Normal View History

2022-09-15 07:09:54 +00:00
package subject
import "fmt"
func getSellerValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Seller, val)
}
// Seller ...
var Seller = struct {
GetSellerInfoByID string
GetListSellerInfoByIDs string
CheckAndInsertCashflows string
UpdateSellerAffiliateStatistic string
UpdateSellerSavingCampaignStatistic string
2022-09-22 06:49:11 +00:00
}{
GetSellerInfoByID: getSellerValue("get_seller_info_by_id"),
GetListSellerInfoByIDs: getSellerValue("get_list_seller_info_by_ids"),
CheckAndInsertCashflows: getSellerValue("check_and_insert_cashflows"),
UpdateSellerAffiliateStatistic: getSellerValue("update_seller_affiliate_statistic"),
UpdateSellerSavingCampaignStatistic: getSellerValue("update_seller_saving_campaign_statistic"),
2022-09-22 06:49:11 +00:00
}
// SupportChat ...
var SupportChat = struct {
2022-09-21 03:19:17 +00:00
GetListSellerInfoSupportChatByIDs string
2022-09-15 07:09:54 +00:00
}{
2022-09-22 06:49:11 +00:00
GetListSellerInfoSupportChatByIDs: "SELLY_CHAT.REQUEST.SELLER_INFO",
2022-09-15 07:09:54 +00:00
}