修改审批接口
This commit is contained in:
parent
d1181e4460
commit
8f5caf80bf
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user