更新
This commit is contained in:
parent
9654e2efae
commit
18900188f6
@ -63,7 +63,11 @@ class TaskController extends BaseApiController
|
|||||||
public function order_detail()
|
public function order_detail()
|
||||||
{
|
{
|
||||||
$parmas = $this->request->param();
|
$parmas = $this->request->param();
|
||||||
$company = Company::where('id', $parmas['company_id'])->field('id,deposit,company_money,user_id,day_count,company_type,province,city,area,street,village,brigade')->find(); // 可能要判断预存金是否满足
|
$company_id=Task::where('id',$parmas['id'])->value('company_id');
|
||||||
|
if(!$company_id){
|
||||||
|
return $this->fail('任务不存在');
|
||||||
|
}
|
||||||
|
$company = Company::where('id', $company_id)->field('id,deposit,company_money,user_id,day_count,company_type,province,city,area,street,village,brigade')->find(); // 可能要判断预存金是否满足
|
||||||
$find = App(RemoteController::class)->shang_date_total_price($company);
|
$find = App(RemoteController::class)->shang_date_total_price($company);
|
||||||
|
|
||||||
$list = App(RemoteController::class)->shang_date_list($company, 1, $parmas);
|
$list = App(RemoteController::class)->shang_date_list($company, 1, $parmas);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user