CleanForm.php 553 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\api\controller\v1;
  3. use app\api\controller\Base;
  4. use app\hander\HelpHander;
  5. use think\App;
  6. use think\Db;
  7. use think\exception\Handle;
  8. class CleanForm extends Base
  9. {
  10. public function __construct(App $app = null) {
  11. parent::__construct($app);
  12. $this->model = new \app\common\model\CleanForm();
  13. }
  14. public function queryAddByForm(){
  15. $recordId = input('recordId');
  16. $formId = input('formId');
  17. $ret=$this->model->queryAddByForm($recordId,$formId);
  18. HelpHander::success($ret);
  19. }
  20. }