|
|
@@ -64,17 +64,13 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
|
$selfSupportForSchoolInfo = SelfSupportForSchoolInfo::findFirst("school_code = '{$school_code}'"); |
|
|
|
$this->logger(["info" => $selfSupportForSchoolInfo], 'aliEcoCommonCallBack', true); |
|
|
|
if (empty($selfSupportForSchoolInfo)) { |
|
|
|
// $response = [ |
|
|
|
// "code" => "40000", |
|
|
|
// "msg" => "Business Failed", |
|
|
|
// "sub_code" => "20000", |
|
|
|
// "sub_msg" => "未查询到对应的学校记录", |
|
|
|
// ]; |
|
|
|
$response = [ |
|
|
|
"code" => "10000", |
|
|
|
"msg" => "Success", |
|
|
|
"face_group_key" => "", |
|
|
|
"code" => "40000", |
|
|
|
"msg" => "Business Failed", |
|
|
|
"sub_code" => "20000", |
|
|
|
"sub_msg" => "not found records", |
|
|
|
]; |
|
|
|
|
|
|
|
} else { |
|
|
|
$response = [ |
|
|
|
"code" => "10000", |
|
|
|