|
|
@@ -33,7 +33,7 @@ type iamResult struct {
|
|
|
|
|
|
func (this *IamService) PostSendSysMsg(url string, params string, token string) *http.Response {
|
|
|
client := &http.Client{}
|
|
|
- ip := utils.Cfg.MustValue("iam", "SendSysMsg")
|
|
|
+ ip := utils.Cfg.MustValue("Iam", "SendSysMsg")
|
|
|
req, err := http.NewRequest("POST", ip+url, strings.NewReader(params))
|
|
|
req.Header.Add("Content-Type", "application/json")
|
|
|
req.Header.Add("Authorization", "Bearer "+token)
|