|
@@ -301,7 +301,7 @@ class BuyHouseController extends Controller
|
|
}
|
|
}
|
|
|
|
|
|
//TODO:同步选房系统,等接口
|
|
//TODO:同步选房系统,等接口
|
|
- $apply = TalentHouseApply::with('idcard')->where('select_house_no', '<', 999999)->orderBy('select_house_no', 'asc')->get();
|
|
|
|
|
|
+ $apply = TalentHouseApply::with('idcard')->where('house_id', $id)->where('select_house_no', '<', 999999)->orderBy('select_house_no', 'asc')->get();
|
|
if (empty($apply)) {
|
|
if (empty($apply)) {
|
|
return response()->json(['code' => 0, 'content' => '请先填写选房顺序号']);
|
|
return response()->json(['code' => 0, 'content' => '请先填写选房顺序号']);
|
|
}
|
|
}
|
|
@@ -346,7 +346,7 @@ class BuyHouseController extends Controller
|
|
}
|
|
}
|
|
$sm4 = new Sm4Service();
|
|
$sm4 = new Sm4Service();
|
|
$sm4_key = 'ydkjjjrcgjrcdrjk';
|
|
$sm4_key = 'ydkjjjrcgjrcdrjk';
|
|
- $ch = curl_init();
|
|
|
|
|
|
+ $ch = curl_init();
|
|
curl_setopt($ch, CURLOPT_URL, "http://jjzf.fjeda.com:9001/admin/xuanfang/importGaojiRencai");
|
|
curl_setopt($ch, CURLOPT_URL, "http://jjzf.fjeda.com:9001/admin/xuanfang/importGaojiRencai");
|
|
curl_setopt($ch, CURLOPT_HTTPHEADER, [
|
|
curl_setopt($ch, CURLOPT_HTTPHEADER, [
|
|
'Content-Type: application/json; charset=utf-8' //json版本需要填写 Content-Type: application/json;
|
|
'Content-Type: application/json; charset=utf-8' //json版本需要填写 Content-Type: application/json;
|