添加注释 使扁平的代码可以折叠

  // #region 商户列表
  companySearch: (data) => common({ url: urls.light.companySearch, data, method: 'post' }),
  companyAdd: (data) => common({ url: urls.light.companyAdd, data, method: 'post' }),
  companyDelete: (data) => common({ url: urls.light.companyDelete, data, method: 'post' }),
  companyEdit: (data) => common({ url: urls.light.companyEdit, data, method: 'post' }),
  companyFastAdd: (data) => common({ url: urls.light.companyQuickAdd, data, method: 'post' }),
  companySetOperate: (data) => common({ url: urls.light.companySetOperate, data, method: 'post' }),
  relatedBrand: (data) => common({ url: urls.light.relatedBrand, data, method: 'post' }),
  companyBaiduCheck: (id) => common({ url: urls.light.companyBaiduCheck + id, data: {}, method: 'post' }),
  companyBaiduView: (id) => common({ url: urls.light.companyBaiduView + id, data: {}, method: 'post' }),
  companyBaiduResetCheck: (id) => common({ url: urls.light.companyBaiduResetCheck + id, data: {}, method: 'post' }),
  companyBaiduPhone: (id) => common({ url: urls.light.companyBaiduPhone + id, data: {}, method: 'post' }),
  // #endregion

 

 

 

 

 

 

 

 

 

 

 

posted @ 2021-06-16 10:45  徐同保  阅读(45)  评论(0编辑  收藏  举报