|
...
|
...
|
@@ -40,7 +40,15 @@ class InquiryForwardLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function getType()
|
|
|
|
{
|
|
|
|
return $this->success($this->model->typeMap());
|
|
|
|
$type = $this->model->typeMap();
|
|
|
|
$list = [];
|
|
|
|
foreach ($type as $k => $v) {
|
|
|
|
$list[] = [
|
|
|
|
'id' => $k,
|
|
|
|
'name' => $v
|
|
|
|
];
|
|
|
|
}
|
|
|
|
return $this->success($list);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|