|
|
@@ -433,11 +433,11 @@ func CurlEducateSceneTokenCreateForApplet(args md.CurlEducateSceneTokenReq) (err |
|
|
|
Msg string `json:"msg"` |
|
|
|
Data interface{} `json:"data"` |
|
|
|
} |
|
|
|
utils.FilePutContents("CurlEducateSceneTokenCreateForApplet", utils.SerializeStr(result)) |
|
|
|
err = json.Unmarshal(bytes, &result) |
|
|
|
if err != nil { |
|
|
|
return |
|
|
|
} |
|
|
|
utils.FilePutContents("CurlEducateSceneTokenCreateForApplet", utils.SerializeStr(result)) |
|
|
|
if result.Code != 0 { |
|
|
|
if result.Msg != "" { |
|
|
|
err = errors.New(result.Msg) |
|
|
|