zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * 渠道下拉列表
 */
 
import ApiModel from '@dreamSend/serve/core/ApiModel'
 
export default options => {
  // 接口地址,required
  const api = 'admin/sms/account'
 
  return new ApiModel({
    api,
    request(params) {
      return this.get(params)
    },
    computedItem(item) {
      let { id, subjectName, ...other } = item
      return { ...other, label: subjectName, value: id }
    }
  })
}