|
|
@ -83,7 +83,7 @@ class CpJuheCompanyController extends ThinkController {
|
|
|
|
public function detail() {
|
|
|
|
public function detail() {
|
|
|
|
|
|
|
|
|
|
|
|
$_REQUEST['id']?($request['id'] = $_REQUEST['id']):'';
|
|
|
|
$_REQUEST['id']?($request['id'] = $_REQUEST['id']):'';
|
|
|
|
$url = M("kv")->field("value")->where(['key'=>"cp_company_api"])->find();
|
|
|
|
$url = M("kv")->field("value")->where(['key'=>"cp_company_detail_api"])->find();
|
|
|
|
$data = json_decode(curl_post($url['value'],$request),true);
|
|
|
|
$data = json_decode(curl_post($url['value'],$request),true);
|
|
|
|
|
|
|
|
|
|
|
|
$this->assign("data",$data);
|
|
|
|
$this->assign("data",$data);
|
|
|
|