修改审批接口

This commit is contained in:
戴育兵 2025-06-27 15:31:39 +08:00
parent d1181e4460
commit 8f5caf80bf
5 changed files with 5 additions and 1 deletions

View File

@ -116,6 +116,7 @@ type System struct {
RedirectUri string RedirectUri string
Domain string Domain string
ErpHost string ErpHost string
FieeHost string
} }
type Oss struct { type Oss struct {
AccessKeyId string AccessKeyId string

View File

@ -5,6 +5,7 @@ HttpPort = ":8085"
Host = "https://common.szjixun.cn" Host = "https://common.szjixun.cn"
RedirectUri = "/api/redirect/url" RedirectUri = "/api/redirect/url"
ErpHost = "http://114.218.158.24:9020" ErpHost = "http://114.218.158.24:9020"
FieeHost = "http://114.218.158.24:9020"
[bos] [bos]
Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe"
Sk = "d2ecaa9d75114d3b9f42b99014198306" Sk = "d2ecaa9d75114d3b9f42b99014198306"

View File

@ -5,6 +5,7 @@ HttpPort = ":8085"
Host = "https://common.szjixun.cn" Host = "https://common.szjixun.cn"
RedirectUri = "/api/redirect/url" RedirectUri = "/api/redirect/url"
ErpHost = "https://erpapi.fontree.cn" ErpHost = "https://erpapi.fontree.cn"
FieeHost = "https://erpapi.fiee.com"
[bos] [bos]
Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe"
Sk = "d2ecaa9d75114d3b9f42b99014198306" Sk = "d2ecaa9d75114d3b9f42b99014198306"

View File

@ -5,6 +5,7 @@ HttpPort = ":8085"
Host = "https://common.szjixun.cn" Host = "https://common.szjixun.cn"
RedirectUri = "/api/redirect/url" RedirectUri = "/api/redirect/url"
ErpHost = "http://114.218.158.24:9020" ErpHost = "http://114.218.158.24:9020"
FieeHost = "http://114.218.158.24:9020"
[bos] [bos]
Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe"
Sk = "d2ecaa9d75114d3b9f42b99014198306" Sk = "d2ecaa9d75114d3b9f42b99014198306"

View File

@ -22,7 +22,7 @@ func (c *CastService) ApprovalDetail(approvalIds []int) (data map[int]modelCast.
} }
idsBytes, _ := json.Marshal(req) idsBytes, _ := json.Marshal(req)
var respBody string var respBody string
url := fmt.Sprintf(config.AppConfig.System.ErpHost + "/approval/list/ex") url := fmt.Sprintf(config.AppConfig.System.FieeHost + "/approval/list/ex")
respBody, err = utils.Post(url, string(idsBytes)) respBody, err = utils.Post(url, string(idsBytes))
if err != nil { if err != nil {
return return