51offer Ng Mall API

商城控制层

Operations 36

GET /ngMall/checkOrderInfo 获取用户确认订单信息 #
POST /ngMall/createOrder 用户下单 #
GET /ngMall/createOrder_wx 用户下单_未登录 #
GET /ngMall/doc/confirm/{id} confirm #
GET /ngMall/doc/detail/{orderDocCode} queryUserOrderDetail #
GET /ngMall/doc/docFiles/{orderDocCode} 文书服务单材料列表 #
GET /ngMall/doc/getDocOrderList 查询服务列表 #
POST /ngMall/doc/saveOrderDocInfoFile 上传文书文件,删除文件 #
GET /ngMall/downloadContract downloadContract #
HEAD /ngMall/downloadContract downloadContract #
POST /ngMall/downloadContract downloadContract #
PUT /ngMall/downloadContract downloadContract #
PATCH /ngMall/downloadContract downloadContract #
DELETE /ngMall/downloadContract downloadContract #
OPTIONS /ngMall/downloadContract downloadContract #
GET /ngMall/getShareContract 获取分享合同信息 #
GET /ngMall/hasPayGoods 根据UID和商品ID获取用户是否购买过该商品 #
GET /ngMall/orderPayOperationRecord 根据订单编号获取订单支付相关操作记录 #
POST /ngMall/payOrder 用户下单 #
POST /ngMall/signSuccessNotice 签署成功回调 #
GET /ngMall/study/courseDetail queryCourseDetail #
GET /ngMall/study/courseList 课程列表 #
GET /ngMall/study/detail/{orderStudyCode} queryUserStudyOrderDetail #
GET /ngMall/study/enterVideoLive/{courseId} 进入直播间 #
GET /ngMall/study/to1course to1course #
HEAD /ngMall/study/to1course to1course #
POST /ngMall/study/to1course to1course #
PUT /ngMall/study/to1course to1course #
PATCH /ngMall/study/to1course to1course #
DELETE /ngMall/study/to1course to1course #
OPTIONS /ngMall/study/to1course to1course #
GET /ngMall/userContractSigning 获取用户订单在线合同 #
GET /ngMall/userOrder 获取用户订单 #
GET /ngMall/userOrderDetails 获取用户订单详情 #
GET /ngMall/userOrderInfoDetails 获取用户订单详情(为支付项目提供) #
GET /ngMall/visa/detail/{orderVisaCode} queryUserOrderVisaDetail #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/51offer-ngmall-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

51offer-ngmall-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 51offer Horizon Site Ng Mall API
  version: '1.0'
  summary: 51offer official-site (www.51offer.com) JSON API surface
  description: Machine-readable description of the public JSON API surface of 51offer's official study-abroad site (www.51offer.com).
  contact:
    name: 51offer
    email: woodrow.w@51offer.com
    url: https://www.51offer.com/
  x-provenance:
    converted-from: Swagger 1.2
    source: https://www.51offer.com/api-docs
    fetched: '2026-09-05'
servers:
- url: https://www.51offer.com
  description: '51offer official site API host. Verified live 2026-09-05: GET /ngGpaCalc/constants returned HTTP 200 application/json.'
- url: https://m.51offer.com
  description: 51offer mobile-site host. Serves the same Swagger 1.2 documents at /api-docs (HTTP 200, application/json, 2026-09-05).
tags:
- name: ngMall
  description: 商城控制层
paths:
  /ngMall/checkOrderInfo:
    get:
      operationId: ngMall_getUserCheckOrderInfo_2
      tags:
      - ngMall
      summary: 获取用户确认订单信息
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: skuId
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: couponNo
        in: query
        required: false
        schema:
          type: string
      - name: cancelCoupon
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_VO_-_3affa5'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/createOrder:
    post:
      operationId: createOrder
      tags:
      - ngMall
      summary: 用户下单
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VO_-_890e8c'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_PayInfoVo_66732c'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/createOrder_wx:
    get:
      operationId: ngMall_createOrderByWx_2
      tags:
      - ngMall
      summary: 用户下单_未登录
      parameters:
      - name: uid
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: skuId
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: code
        in: query
        required: true
        schema:
          type: string
      - name: wxKey
        in: query
        required: true
        schema:
          type: string
      - name: schoolId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_Map_5d5fab'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/doc/confirm/{id}:
    get:
      operationId: confirm
      tags:
      - ngMall
      summary: confirm
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/doc/detail/{orderDocCode}:
    get:
      operationId: queryUserOrderDetail
      tags:
      - ngMall
      summary: queryUserOrderDetail
      parameters:
      - name: orderDocCode
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_OrderDocInfoDetailVo_acc9c1'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/doc/docFiles/{orderDocCode}:
    get:
      operationId: docFiles
      tags:
      - ngMall
      summary: 文书服务单材料列表
      parameters:
      - name: orderDocCode
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/doc/getDocOrderList:
    get:
      operationId: getDocOrderList
      tags:
      - ngMall
      summary: 查询服务列表
      parameters:
      - name: orderCode
        in: query
        required: false
        schema:
          type: string
      - name: orderUid
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: realname
        in: query
        required: false
        schema:
          type: string
      - name: pinyin
        in: query
        required: false
        schema:
          type: string
      - name: orderDocCode
        in: query
        required: false
        schema:
          type: string
      - name: orderDocStatus
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: payTimeStart
        in: query
        required: false
        schema:
          type: string
      - name: payTimeEnd
        in: query
        required: false
        schema:
          type: string
      - name: createTimeStart
        in: query
        required: false
        schema:
          type: string
      - name: createTimeEnd
        in: query
        required: false
        schema:
          type: string
      - name: goodsId
        in: query
        required: false
        schema:
          type: string
      - name: goodsName
        in: query
        required: false
        schema:
          type: string
      - name: serviecUserName
        in: query
        required: false
        schema:
          type: string
      - name: pageNo
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: orderDocSuid
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: orderDocSuidIsNull
        in: query
        required: false
        schema:
          type: integer
          format: int32
        description: 文书服务顾问是否为空 0不为空 1 空
      - name: sortPayTime
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: sortCreateTime
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: sortStatus
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: sortLastTime
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: orderBelongId
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: consultantId
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: hopeYear
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: hopeQuarter
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/doc/saveOrderDocInfoFile:
    post:
      operationId: docOrderModify
      tags:
      - ngMall
      summary: 上传文书文件,删除文件
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Schema_f23045'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/downloadContract:
    get:
      operationId: downloadContract
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    head:
      operationId: ngMall_downloadContract_2
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    post:
      operationId: ngMall_downloadContract_3
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    put:
      operationId: ngMall_downloadContract_4
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    patch:
      operationId: ngMall_downloadContract_5
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    delete:
      operationId: ngMall_downloadContract_6
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    options:
      operationId: ngMall_downloadContract_7
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    trace:
      operationId: ngMall_downloadContract_8
      tags:
      - ngMall
      summary: downloadContract
      parameters:
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/getShareContract:
    get:
      operationId: queryContractSigning
      tags:
      - ngMall
      summary: 获取分享合同信息
      parameters:
      - name: agreementCode
        in: query
        required: true
        schema:
          type: string
      - name: flowId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_Map_string_object_5812ac'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/hasPayGoods:
    get:
      operationId: getUserHasPayGoodsByGoodsId
      tags:
      - ngMall
      summary: 根据UID和商品ID获取用户是否购买过该商品
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: callBack
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_Map_string_object_5812ac'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/orderPayOperationRecord:
    get:
      operationId: queryOrderPayOperationRecord
      tags:
      - ngMall
      summary: 根据订单编号获取订单支付相关操作记录
      parameters:
      - name: orderCode
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_List_02431d'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/payOrder:
    post:
      operationId: payOrder
      tags:
      - ngMall
      summary: 用户下单
      parameters:
      - name: callBack
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VO_-_890e8c'
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/signSuccessNotice:
    post:
      operationId: signSuccessNotice
      tags:
      - ngMall
      summary: 签署成功回调
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignCallback'
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/study/courseDetail:
    get:
      operationId: queryCourseDetail
      tags:
      - ngMall
      summary: queryCourseDetail
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Schema_81c246'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_StudyCourseVo_4a61ad'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/study/courseList:
    get:
      operationId: courseList
      tags:
      - ngMall
      summary: 课程列表
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StudyCourseSearchVo'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/study/detail/{orderStudyCode}:
    get:
      operationId: queryUserStudyOrderDetail
      tags:
      - ngMall
      summary: queryUserStudyOrderDetail
      parameters:
      - name: orderStudyCode
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_OrderStudyInfoDetailVo_174008'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/study/enterVideoLive/{courseId}:
    get:
      operationId: enterVideoLive
      tags:
      - ngMall
      summary: 进入直播间
      parameters:
      - name: courseId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/study/to1course:
    get:
      operationId: to1course
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    head:
      operationId: ngMall_to1course_2
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    post:
      operationId: ngMall_to1course_3
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    put:
      operationId: ngMall_to1course_4
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    patch:
      operationId: ngMall_to1course_5
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    delete:
      operationId: ngMall_to1course_6
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    options:
      operationId: ngMall_to1course_7
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
    trace:
      operationId: ngMall_to1course_8
      tags:
      - ngMall
      summary: to1course
      parameters:
      - name: goodsId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/userContractSigning:
    get:
      operationId: ngMall_queryContractSigning_2
      tags:
      - ngMall
      summary: 获取用户订单在线合同
      parameters:
      - name: orderId
        in: query
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_List_-_a0ea6d'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/userOrder:
    get:
      operationId: ngMall_queryUserOrder_2
      tags:
      - ngMall
      summary: 获取用户订单
      parameters:
      - name: type
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_List_VO_-_1b4268'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/userOrderDetails:
    get:
      operationId: getUserOrderDetails
      tags:
      - ngMall
      summary: 获取用户订单详情
      parameters:
      - name: orderCode
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_VO_-_d79457'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/userOrderInfoDetails:
    get:
      operationId: getUserOrderInfoDetails
      tags:
      - ngMall
      summary: 获取用户订单详情(为支付项目提供)
      description: 获取用户订单详情
      parameters:
      - name: orderCode
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult_Map_string_string_5634e8'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
  /ngMall/visa/detail/{orderVisaCode}:
    get:
      operationId: queryUserOrderVisaDetail
      tags:
      - ngMall
      summary: queryUserOrderVisaDetail
      parameters:
      - name: orderVisaCode
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      x-swagger-1-2-source: https://www.51offer.com/api-docs/default/ngmall
components:
  schemas:
    HttpResult_List_-_a0ea6d:
      type: object
      properties:
        message:
          type: string
        code:
          type: integer
          format: int32
        data:
          type: array
          items:
            $ref: '#/components/schemas/-_ad6a28'
        header:
          type: string
        page:
          $ref: '#/components/schemas/Page'
        apiInfo:
          $ref: '#/components/schemas/ApiInfo'
      x-swagger-1-2-name: HttpResult«List«订单合同在线签署 - 前台»»
    HttpResult:
      type: object
      properties:
        message:
          type: string
        code:
          type: integer
          format: int32
        data:
          type: object
        header:
          type: string
        page:
          $ref: '#/components/schemas/Page'
        apiInfo:
          $ref: '#/components/schemas/ApiInfo'
      x-swagger-1-2-name: HttpResult
    Schema_86072f:
      type: object
      properties:
        orderCode:
          type: string
          description: 订单编号
        opTime:
          type: string
          format: date-time
          description: 订单编号
        opType:
          type: string
          description: 操作类型  支付/退款
        gateway:
          type: string
          description: 支付方式/退款方式
        amount:
          type: string
          description: 金额 支付金额/退款金额
      x-swagger-1-2-name: 支付相关操作记录
    SignCallback:
      type: object
      properties:
        action:
          type: string
        signFlowId:
          type: string
        signResult:
          type: integer
          format: int32
        signOrder:
          type: integer
          format: int32
        timestamp:
          type: integer
          format: int64
        operateTime:
          type: integer
          format: int64
        resultDescription:
          type: string
        organization:
          $ref: '#/components/schemas/Organization'
      x-swagger-1-2-name: SignCallback
    VO_-_183f88:
      type: object
      properties:
        id:
          type: integer
          format: int32
        orderCode:
          type: string
          description: 支付单编号(主单编号)
        orderType:
          type: integer
          format: int32
          description: 订单类型(各业务线标识) 1=联合 2=留学 3=语培 4=文书 5=签证
        unionCode:
          type: string
          description: 联合订单编号(只有联合订单的子单,此属性才会有值)
        uid:
          type: integer
     

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/51offer/refs/heads/main/openapi/51offer-ngmall-api-openapi.yml