Commit 1139d798 authored by shajiaiming's avatar shajiaiming

fix

parent 0172be5d
......@@ -35,7 +35,7 @@ class TrusteeShipService
if (!$result) {
return ['code' => -1, 'msg' => $ch->errorText];
}
if (200 == $result['code'] && isset($result['data'])) {
if (200 == $result['code']) {
return ['code' => $result['code'], 'msg' => $result['data']];
} else {
return ['code' => -1, 'msg' => $result['message']];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment