|
@@ -309,6 +309,7 @@ func (this *ActivityCoAntroller) ScheduleList() {
|
|
|
// @Title 活动详情
|
|
|
// @Description 获取活动详情接口
|
|
|
// @Param ActivityId query int true "活动ID"
|
|
|
+// @Param Sence query int true "小程序二维码详情,扫码进入的详情ID"
|
|
|
// @Param IsSendWx query int false "是否是通过微信模版进来的 1是,其它否"
|
|
|
// @Success Ret=200 {object} models.CygxActivityResp
|
|
|
// @router /detail [get]
|
|
@@ -328,6 +329,10 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
uid := user.UserId
|
|
|
activityId, _ := this.GetInt("ActivityId")
|
|
|
isSendWx, _ := this.GetInt("IsSendWx")
|
|
|
+ sence, _ := this.GetInt("Sence")
|
|
|
+ if activityId == 0 && sence > 0 {
|
|
|
+ activityId = sence
|
|
|
+ }
|
|
|
if activityId < 1 {
|
|
|
br.Msg = "请输入活动ID"
|
|
|
return
|