Merge branch 'feature/cp_juhe_company' of wmtx/platform into release

聚合公司详情详细网址修改
master
廖金灵 4 years ago committed by Gogs
commit a70a494102

@ -83,8 +83,8 @@ 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();
$data = json_decode(curl_post("http://10.0.1.161:8095/index.php?g=Api&m=CpJuheCompany&a=detail",$request),true); $data = json_decode(curl_post($url['value'],$request),true);
$this->assign("data",$data); $this->assign("data",$data);
$this->display(); $this->display();

Loading…
Cancel
Save