aa
This commit is contained in:
@@ -7,11 +7,11 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
beego "github.com/astaxie/beego/adapter"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
)
|
||||
|
||||
type ActController struct {
|
||||
beego.Controller
|
||||
web.Controller
|
||||
}
|
||||
|
||||
// @Title 预创建活动
|
||||
@@ -240,7 +240,7 @@ func (c *ActController) UpdateActStoreSkuBind() {
|
||||
err = fmt.Errorf("actStoreSkuAddList与actStoreSkuDeleteList不能都为空")
|
||||
} else {
|
||||
db := dao.GetDB()
|
||||
txDB , _ := dao.Begin(db)
|
||||
txDB, _ := dao.Begin(db)
|
||||
func() {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
|
||||
Reference in New Issue
Block a user