- fix msg

This commit is contained in:
gazebo
2019-02-28 09:40:11 +08:00
parent 6d199ad901
commit 12b671d92f

View File

@@ -97,7 +97,7 @@ func isSNSAction(action string) bool {
func (a *API) AccessAPI(action string, params map[string]interface{}, body string) (retVal map[string]interface{}, err error) {
if params != nil && body != "" {
panic("params and body can not all non-empty")
panic("params and body can not all be empty")
}
params2 := make(map[string]interface{})
for k, v := range params {