commit
f671f8c80d
@ -181,15 +181,16 @@ class ContractController extends BaseAdminController
|
||||
|
||||
public function evidence()
|
||||
{
|
||||
$parms = Request::param();
|
||||
$detail=ContractLogic::detail($parms);
|
||||
$id = Request::param('id');
|
||||
$detail=Contract::where('id',$id)->find();
|
||||
if(!empty($detail['evidence_url'])){
|
||||
return $this->success('获取成功', ['url' => env('url.url_prefix').$detail['evidence_url']]);
|
||||
}
|
||||
$company=Company::where('id',$detail['party_a'])->find();
|
||||
$request = array(
|
||||
"applyNo" => $detail['contract_no'],
|
||||
"fullName" => $detail['party_a_info']['company_name'],
|
||||
"identityCard" => $detail['party_a_info']['organization_code'],
|
||||
"fullName" => $company['company_name'],
|
||||
"identityCard" => $company['organization_code'],
|
||||
"identityType" => 12,
|
||||
);
|
||||
return app(JunziqianController::class)->EvidenceDownload($request);
|
||||
|
15
doc.md
15
doc.md
@ -1,3 +1,16 @@
|
||||
php81 think cron:schedule 定时
|
||||
php81 think queue:listen 队列
|
||||
php81 think queue:work 执行
|
||||
php81 think queue:work 执行
|
||||
|
||||
//数据库清除
|
||||
TRUNCATE TABLE la_company;
|
||||
TRUNCATE TABLE la_contract;
|
||||
TRUNCATE TABLE la_task;
|
||||
TRUNCATE TABLE la_task_scheduling;
|
||||
TRUNCATE TABLE la_task_scheduling_plan;
|
||||
TRUNCATE TABLE la_task_template;
|
||||
TRUNCATE TABLE la_user_informationg;
|
||||
TRUNCATE TABLE la_user_informationg_demand;
|
||||
TRUNCATE TABLE la_user_account_log;
|
||||
UPDATE `worker_task`.`la_user` SET `deposit` = 0, `user_money` = 0;
|
||||
DELETE FROM la_admin WHERE id != 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user