shaoguo 3 hafta önce
ebeveyn
işleme
78e63f9c0e

+ 0 - 5
services/partnerpayments/h5/models.go

@@ -968,11 +968,6 @@ func (o SceneInfo) MarshalJSON() ([]byte, error) {
 	if o.StoreInfo != nil {
 		toSerialize["store_info"] = o.StoreInfo
 	}
-
-	if o.H5Info == nil {
-		return nil, fmt.Errorf("field `H5Info` is required and must be specified in SceneInfo")
-	}
-	toSerialize["h5_info"] = o.H5Info
 	return json.Marshal(toSerialize)
 }
 

+ 0 - 5
services/payments/h5/models.go

@@ -857,11 +857,6 @@ func (o SceneInfo) MarshalJSON() ([]byte, error) {
 	if o.StoreInfo != nil {
 		toSerialize["store_info"] = o.StoreInfo
 	}
-
-	if o.H5Info == nil {
-		return nil, fmt.Errorf("field `H5Info` is required and must be specified in SceneInfo")
-	}
-	toSerialize["h5_info"] = o.H5Info
 	return json.Marshal(toSerialize)
 }