];return viewMobileOrPc ( 'worksAll', $assignData );}/*** 作品详情*/public function worksInfo($id) {$info = model ( 'Article' )->alias ( 'a' )->join ( '__AEFAULT_ARTICLE__ b', 'a.id = b.for_id' )->where ( 'fatherid', 29 )->where ( 'id', $id )->where ( 'state', 1 )->where ( 'type', 2 )->order ( 'sort DESC,id DESC' )->find ();$people = model ( 'Article' )->alias ( 'a' )->join ( '__AEFAULT_ARTICLE__ b', 'a.id = b.for_id' )->where ( 'fatherid', 24 )->where ( 'id', $info->forpeople )->where ( 'state', 1 )->where ( 'type', 2 )->order ( 'sort DESC,id DESC' )->find ();$list1 = model ( 'Article' )->alias ( 'a' )->join ( '__AEFAULT_ARTICLE__ b', 'a.id = b.for_id' )->where ( 'style', $info->style )->where ( 'fatherid', 29 )->where ( 'state', 1 )->where ( 'type', 2 )->order ( 'sort DESC,id DESC' )->limit ( 6 )->select ();$list2 = model ( 'Article' )->alias ( 'a' )->join ( '__AEFAULT_ARTICLE__ b', 'a.id = b.for_id' )->where ( 'loupan', $info->loupan )->where ( 'fatherid', 29 )->where ( 'state', 1 )->where ( 'type', 2 )->order ( 'sort DESC,id DESC' )->limit ( 6 )->select ();$list3 = model ( 'Article' )->alias ( 'a' )->join ( '__AEFAULT_ARTICLE__ b', 'a.id = b.for_id' )->where ( 'forpeople', $info->forpeople )->where ( 'fatherid', 29 )->where ( 'state', 1 )->where ( 'type', 2 )->order ( 'sort DESC,id DESC' )->limit ( 6 )->select ();return viewMobileOrPc ( 'worksInfo', ['info' => $info,'people' => $people,'list1' => $list1,