|
|
@ -228,7 +228,7 @@ func (m *Message) ack(ackAction string) error {
|
|
|
|
// ExecMq @Title 调用mq
|
|
|
|
// ExecMq @Title 调用mq
|
|
|
|
func ExecMq(action string) (Message, error) {
|
|
|
|
func ExecMq(action string) (Message, error) {
|
|
|
|
data := map[string]string{
|
|
|
|
data := map[string]string{
|
|
|
|
"topic": fmt.Sprintf("open_message_ct_%s_%s", action, config.SdkConfig.AppKey),
|
|
|
|
"topic": fmt.Sprintf("%sopen_message_ct_%s_%s", config.SdkConfig.TopicPrefix, action, config.SdkConfig.AppKey),
|
|
|
|
"consumerGroupId": fmt.Sprintf("open_message_%d", config.SdkConfig.AccountId),
|
|
|
|
"consumerGroupId": fmt.Sprintf("open_message_%d", config.SdkConfig.AccountId),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
value := url.Values{}
|
|
|
|
value := url.Values{}
|
|
|
|