|
@@ -39,7 +39,7 @@ func (s OrderService) CreateOrder(in *jyOrder.Request) (int64, string, int64) {
|
|
|
order["applybill_taxnum"] = in.ApplybillTaxnum
|
|
|
order["applybill_company"] = in.ApplybillCompany
|
|
|
order["user_id"] = in.UserId
|
|
|
- order["vip_starttime"] = util.ConversionDateTime(in.VipStarttime)
|
|
|
+ order["vip_starttime"] = util.If(in.VipStarttime == "", nil, in.VipStarttime)
|
|
|
order["vip_endtime"] = util.If(in.VipEndtime == "", nil, in.VipEndtime)
|
|
|
order["vip_type"] = in.VipType
|
|
|
order["salesperson"] = in.Salesperson
|