|
...
|
...
|
@@ -294,29 +294,4 @@ class LoginController extends BaseController |
|
|
|
}
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
public function ceshi(){
|
|
|
|
$projectModel = new Project();
|
|
|
|
$info = $projectModel->with('payment')->with('deploy_build')
|
|
|
|
->with('deploy_optimize')->where(['id'=>1])->first()->toArray();
|
|
|
|
$url = 'https://form.globalso.com/api/globalsov6';
|
|
|
|
$data = [
|
|
|
|
'id' => $info['from_order_id'],
|
|
|
|
'company_name'=>$info['company'],
|
|
|
|
'token'=>md5($info['from_order_id'].'qqs'.date('Y-m-d')),
|
|
|
|
];
|
|
|
|
if(!empty($info['mobile'])){
|
|
|
|
$data['mobile'] = $info['mobile'];
|
|
|
|
}
|
|
|
|
if(!empty($info['deploy_optimize']['domain'])){
|
|
|
|
$domainModel = new DomainInfo();
|
|
|
|
$data['main_url'] = $domainModel->getDomain($info['deploy_optimize']['domain']);
|
|
|
|
}
|
|
|
|
if($info['deploy_build']['test_domain']){
|
|
|
|
$data['test_url'] = $info['deploy_build']['test_domain'];
|
|
|
|
}
|
|
|
|
$header = array(
|
|
|
|
"charset=utf-8"
|
|
|
|
);
|
|
|
|
return http_post($url,$data,$header);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|