|
...
|
...
|
@@ -9,6 +9,7 @@ use App\Http\Logic\Bside\Setting\ProofreadingLogic; |
|
|
|
class ProofreadingController extends BaseController
|
|
|
|
{
|
|
|
|
const LANGUAGE_ID = 1;//默认语言英语
|
|
|
|
const TYPE_IMAGE = 2;//校队图片
|
|
|
|
/**
|
|
|
|
* @name :lists
|
|
|
|
* @author :lyh
|
|
...
|
...
|
@@ -20,6 +21,11 @@ class ProofreadingController extends BaseController |
|
|
|
$this->map['language_id'] = $this::LANGUAGE_ID;
|
|
|
|
}
|
|
|
|
$lists = $proofreadingLogic->proofreadingList($this->map,$this->page,$this->row);
|
|
|
|
if(!empty($lists['list']) && ($this->param['type'] == $this::TYPE_IMAGE)){
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$lists[$k]['image_link'] = url('/b/image/' . $v['translate']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|