| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace app\modules\admin\controllers\q_and_a;
- use app\modules\admin\controllers\BaseController;
- use app\modules\admin\models\q_and_a\QALogForm;
- class QALogController extends BaseController
- {
- /**
- * 列表
- */
- public function actionUserList()
- {
- $param = get_params();
- $form = new QALogForm();
- $form->attributes = $param;
- $form->store_id = get_store_id();
- return $this->asJson($form->search());
- }
- public function actionQList()
- {
- $param = get_params();
- $form = new QALogForm();
- $form->attributes = $param;
- $form->store_id = get_store_id();
- return $this->asJson($form->search_q());
- }
- public function actionAdLogList()
- {
- $param = get_params();
- $form = new QALogForm();
- $form->attributes = $param;
- $form->store_id = get_store_id();
- return $this->asJson($form->search_ad_log());
- }
- }
|