From c5048b64d7c9c27c59d2a538d594183d749a9250 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Fri, 19 Jan 2024 14:47:12 +0800 Subject: [PATCH] 1 --- controllers/im.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/im.go b/controllers/im.go index 644304494..4a18eee31 100644 --- a/controllers/im.go +++ b/controllers/im.go @@ -148,7 +148,7 @@ func (c *IMController) GetElmMedia() { // @Title 增加以及获取门店自定义回复模板 // @Description 增加以及获取门店自定义回复模板 // @Param token header string true "认证token" -// @Param appID query string true "京西门店id" +// @Param appID query string true "京西门店id" // @Param vendorStoreID query string true "美团门店id" // @Param replyTemplate query string true "新增或修改自定义模板" // @Param opType query int true "操作 1-新增 2-获取" @@ -157,7 +157,7 @@ func (c *IMController) GetElmMedia() { // @router /AddOrGetCustomReply [get] func (c *IMController) AddOrGetCustomReply() { c.callAddOrGetCustomReply(func(params *tImAddOrGetCustomReplyParams) (interface{}, string, error) { - retVal, err := im.AddOrGetCustomReply(params.StoreID, params.VendorStoreID, params.ReplyTemplate, params.OpType) + retVal, err := im.AddOrGetCustomReply(params.AppID, params.VendorStoreID, params.ReplyTemplate, params.OpType) return retVal, "", err }) }