修改http
This commit is contained in:
@@ -315,11 +315,15 @@ class Init
|
||||
|
||||
parse_str($content, $data);
|
||||
|
||||
$this->data = $data;
|
||||
|
||||
if ($data['transRet'] != 'SUCCESS') {
|
||||
$this->code = false;
|
||||
$this->message = $data['resultDis'];
|
||||
}
|
||||
|
||||
$this->code = true;
|
||||
|
||||
} else {
|
||||
$this->code = false;
|
||||
$this->message = '接口错误 Post';
|
||||
|
||||
Reference in New Issue
Block a user