Merge branch 'develop' of github.com:Selly-Modules/natsio into develop
This commit is contained in:
commit
d7c0138d6a
|
@ -66,7 +66,7 @@ func (s Seller) GetListSellerInfoByIDs(p model.GetListSellerByIDsRequest) (*mode
|
||||||
|
|
||||||
// GetListSellerInfoSupportChatByIDs ...
|
// GetListSellerInfoSupportChatByIDs ...
|
||||||
func (s Seller) GetListSellerInfoSupportChatByIDs(p model.GetListSellerSupportChatByIDsRequest) (*model.ResponseListSellerInfoSupportChat, error) {
|
func (s Seller) GetListSellerInfoSupportChatByIDs(p model.GetListSellerSupportChatByIDsRequest) (*model.ResponseListSellerInfoSupportChat, error) {
|
||||||
msg, err := natsio.GetServer().Request(subject.Seller.GetListSellerInfoSupportChatByIDs, toBytes(p))
|
msg, err := natsio.GetServer().Request(subject.SupportChat.GetListSellerInfoSupportChatByIDs, toBytes(p))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,14 @@ func getSellerValue(val string) string {
|
||||||
var Seller = struct {
|
var Seller = struct {
|
||||||
GetSellerInfoByID string
|
GetSellerInfoByID string
|
||||||
GetListSellerInfoByIDs string
|
GetListSellerInfoByIDs string
|
||||||
GetListSellerInfoSupportChatByIDs string
|
|
||||||
}{
|
}{
|
||||||
GetSellerInfoByID: getSellerValue("get_seller_info_by_id"),
|
GetSellerInfoByID: getSellerValue("get_seller_info_by_id"),
|
||||||
GetListSellerInfoByIDs: getSellerValue("get_list_seller_info_by_ids"),
|
GetListSellerInfoByIDs: getSellerValue("get_list_seller_info_by_ids"),
|
||||||
GetListSellerInfoSupportChatByIDs: getSellerValue("get_list_seller_info_support_chat_by_ids"),
|
}
|
||||||
|
|
||||||
|
// SupportChat ...
|
||||||
|
var SupportChat = struct {
|
||||||
|
GetListSellerInfoSupportChatByIDs string
|
||||||
|
}{
|
||||||
|
GetListSellerInfoSupportChatByIDs: "SELLY_CHAT.REQUEST.SELLER_INFO",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue