sellerask-api-map.js 676 Bytes
/**
 * sellerask-api-map.js
 *@author dennis
 *@createtime 9/29/19
 *@description 卖家求购变现
 */

const API = require('./api-constants');

module.exports = {

  '/api/order/sellask/compute': {
    ufo: true,
    auth: true,
    path: '',
    api: API.SELLER_ASK_PRE_COMPUTE,
    params: {
      skup: {type: Number, required: true},
      price: {type: Number, required: true},
    }
  },

  '/api/order/sellask/publish': {
    ufo: true,
    auth: true,
    path: '',
    api: API.SELLER_ASK_PUBLISH,
    params: {
      skup: {type: Number, required: true},
      price: {type: Number, required: true},
      address_id: {type: String, required: true},
    }
  },
}