|
@@ -269,6 +269,21 @@ func (this *ActivitySpecialCoAntroller) SpecialTripAdd() {
|
|
|
if sellerItem != nil {
|
|
|
item.SellerName = sellerItem.RealName
|
|
|
}
|
|
|
+ if user.OutboundMobile != "" {
|
|
|
+ item.OutboundMobile = user.OutboundMobile
|
|
|
+ if user.OutboundCountryCode == "" {
|
|
|
+ item.CountryCode = "86"
|
|
|
+ } else {
|
|
|
+ item.CountryCode = user.OutboundCountryCode
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ item.OutboundMobile = user.Mobile
|
|
|
+ if user.CountryCode == "" {
|
|
|
+ item.CountryCode = "86"
|
|
|
+ } else {
|
|
|
+ item.CountryCode = user.CountryCode
|
|
|
+ }
|
|
|
+ }
|
|
|
err = models.AddCygxActivitySpecialTrip(item)
|
|
|
if err != nil {
|
|
|
br.Msg = "操作失败"
|