user_merchant_h5_order_info.go 458 B

1234567891011121314151617
  1. package user_merchant
  2. /*func MangementGetH5OrderInfo(ctx context.Context, req *apis.MangementGetH5OrderInfoReq, reply *apis.MangementGetH5OrderInfoReply) (err error) {
  3. if req.OrderId == 0 {
  4. return errors.ArgsError
  5. }
  6. err = orm.NewOrm().QueryTable("t_gd_h5_service_order").Filter("id", req.OrderId).One(&reply.OrderInfo)
  7. if err != nil {
  8. if err == orm.ErrNoRows {
  9. return errors.H5OrderNotExist
  10. }
  11. return errors.DataBaseError
  12. }
  13. return nil
  14. }
  15. */