|
|
|
|
@ -1435,9 +1435,9 @@ class AlipayTradeService extends CI_Controller
|
|
|
|
|
'OPN_accountMethod' => ['=', 15015],
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
if (empty($originRows)) {
|
|
|
|
|
if (empty($originRows) || count($originRows) > 1) {
|
|
|
|
|
$res['errcode'] = '1';
|
|
|
|
|
$res['errmsg'] = '没有找到该笔交易';
|
|
|
|
|
$res['errmsg'] = empty($originRows) ? '没有找到该笔交易' : '无法匹配交易';
|
|
|
|
|
return $this->output->set_content_type('application/json')->set_output(json_encode($res)); // test
|
|
|
|
|
}
|
|
|
|
|
$originRow = $originRows[0];
|
|
|
|
|
|