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