address-api-map.js 1.16 KB
module.exports = {
  '/api/address/gethidden': {
    auth: true,
    api: 'app.address.gethidden',
    params: {},
  },
  '/api/address/getTags': {
    auth: true,
    api: 'app.address.getTags',
    params: {},
  },
  '/api/address/getProvinces': {
    auth: true,
    api: 'app.address.provinces',
    params: {},
  },
  '/api/address/addAddress': {
    auth: true,
    api: 'app.address.add',
    params: {},
  },
  '/api/address/updateAddress': {
    auth: true,
    api: 'app.address.update',
    params: {},
  },
  '/api/address/delAddress': {
    auth: true,
    api: 'app.address.del',
    params: {},
  },
  '/api/address/setDefaultAddress': {
    auth: true,
    api: 'app.address.setdefault',
    params: {},
  },
  '/api/buyer/modifyAddress': {
    auth: true,
    ufo: true,
    api: 'ufo.buyer.modifyAddress',
    params: {
      tabType: { type: String, require: true },
      orderCode: { type: Number, require: true },
      mobile: { type: String, require: true },
      consignee: { type: String, require: true },
      area: { type: String, require: true },
      areaCode: { type: String, require: true },
      address: { type: String, require: true },
    },
  },
};