- 禁止在老版活动上创建补贴表,迁移至新版,暂时保持活动表的兼容
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"fmt"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
@@ -41,8 +40,8 @@ type PromotionController struct {
|
||||
func (c *PromotionController) CreatePromotion() {
|
||||
c.callCreatePromotion(func(params *tPromotionCreatePromotionParams) (retVal interface{}, errCode string, err error) {
|
||||
if globals.EnableNewAct {
|
||||
if params.VendorID == model.VendorIDJD {
|
||||
return retVal, "", fmt.Errorf("请使用新版活动管理创建平台活动")
|
||||
if true { //params.VendorID == model.VendorIDJD {
|
||||
return retVal, "", fmt.Errorf("请使用新版活动管理创建活动")
|
||||
}
|
||||
}
|
||||
beginAt, err := utils.TryStr2Time(params.BeginAt)
|
||||
|
||||
Reference in New Issue
Block a user