作者 yangfu

Merge branch 'test' into dev

... ... @@ -283,7 +283,7 @@ func (srv ExcelDataService) fieldValueAllEmpty(param map[string]string) bool {
// FileImportTemplate 导入模板
func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.ImportDataCommand) (interface{}, error) {
var mapTemplate = map[string]string{
domain.ImportCompanyUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210916/object/1631807485_EaxECeRz23WpzrMZmbwdEPRJ3Pdxpx5X.xlsx",
domain.ImportCompanyUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/opportunity/dev_online/20220222/object/1645495589_cFNDGRTfCxYMZ5hPYzfKxThYd3ywARRz.xlsx",
domain.ImportOrganization: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210916/object/1631807490_r2XWhGmbWWmpbeePBkZ3EJQFKcZEMpEm.xlsx",
domain.ImportDividendsOrders: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210927/object/1632743206_NPYTKw6RGhXn4TpYNEQhGGdCkXKXTnxM.xlsx",
domain.ImportCooperationUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210926/object/1632635345_SbfzmkXjQHhCwPw4MB7zb5EBBtdp2MSE.xlsx",
... ...
... ... @@ -45,6 +45,7 @@ func RedirectInternalService(prefix string, svr internalService) web.FilterFunc
if ok && loginToken.CompanyId > 0 && loginToken.OrgId > 0 {
req.Header("companyId", fmt.Sprintf("%v", loginToken.CompanyId))
req.Header("orgId", fmt.Sprintf("%v", loginToken.OrgId))
req.Header("userId", fmt.Sprintf("%v", loginToken.UserId))
orgIdList := make([]string, 0)
for i := range loginToken.OrgIds {
orgIdList = append(orgIdList, fmt.Sprintf("%d", loginToken.OrgIds[i]))
... ...