Files
wechat_ipad_pro/api/service/proxy_mapping_service.go
2026-02-17 13:06:23 +08:00

42 lines
1.5 KiB
Go

package service
import (
"xiawan/wx/db/table"
)
// GetProxyMappingList 获取代理映射列表
func GetProxyMappingList() ([]table.ProxyMapping, error) {
// 固定返回代理映射列表
list := []table.ProxyMapping{
{ProxyNumber: "1", ProxyValue: "辽宁"},
{ProxyNumber: "2", ProxyValue: "上海"},
{ProxyNumber: "3", ProxyValue: "江苏"},
{ProxyNumber: "4", ProxyValue: "浙江"},
{ProxyNumber: "5", ProxyValue: "安徽"},
{ProxyNumber: "6", ProxyValue: "福建"},
{ProxyNumber: "7", ProxyValue: "江西"},
{ProxyNumber: "8", ProxyValue: "山东"},
{ProxyNumber: "9", ProxyValue: "河南"},
{ProxyNumber: "10", ProxyValue: "湖北"},
{ProxyNumber: "11", ProxyValue: "湖南"},
{ProxyNumber: "12", ProxyValue: "北京"},
{ProxyNumber: "13", ProxyValue: "天津"},
{ProxyNumber: "14", ProxyValue: "河北"},
{ProxyNumber: "15", ProxyValue: "山西"},
{ProxyNumber: "16", ProxyValue: "内蒙古"},
{ProxyNumber: "17", ProxyValue: "广东"},
{ProxyNumber: "18", ProxyValue: "广西"},
{ProxyNumber: "19", ProxyValue: "海南"},
{ProxyNumber: "20", ProxyValue: "陕西"},
{ProxyNumber: "21", ProxyValue: "甘肃"},
{ProxyNumber: "22", ProxyValue: "青海"},
{ProxyNumber: "23", ProxyValue: "宁夏"},
{ProxyNumber: "24", ProxyValue: "新疆"},
{ProxyNumber: "25", ProxyValue: "重庆"},
{ProxyNumber: "26", ProxyValue: "四川"},
{ProxyNumber: "27", ProxyValue: "贵州"},
{ProxyNumber: "28", ProxyValue: "云南"},
}
return list, nil
}