|
@@ -284,12 +284,6 @@ func (this *ActivitySpecialController) SpecialTripAdd() {
|
|
|
if sellerItem != nil {
|
|
|
item.SellerName = sellerItem.RealName
|
|
|
}
|
|
|
- err = models.AddCygxActivitySpecialTrip(item)
|
|
|
- if err != nil {
|
|
|
- br.Msg = "操作失败"
|
|
|
- br.ErrMsg = "操作失败,Err:" + err.Error()
|
|
|
- return
|
|
|
- }
|
|
|
if user.OutboundMobile != "" {
|
|
|
item.OutboundMobile = user.OutboundMobile
|
|
|
if user.OutboundCountryCode == "" {
|
|
@@ -305,6 +299,12 @@ func (this *ActivitySpecialController) SpecialTripAdd() {
|
|
|
item.CountryCode = user.CountryCode
|
|
|
}
|
|
|
}
|
|
|
+ err = models.AddCygxActivitySpecialTrip(item)
|
|
|
+ if err != nil {
|
|
|
+ br.Msg = "操作失败"
|
|
|
+ br.ErrMsg = "操作失败,Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
//SignupStatus int `description:"返回状态:1:成功 、2 :人数已满 、3:调研次数已用完、 4:超时"`
|
|
|
} else {
|
|
|
updateParams := make(map[string]interface{})
|