First commit

This commit is contained in:
2025-10-02 10:33:06 +08:00
parent 198b8bf2a6
commit c38eed4a22
5512 changed files with 958855 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
<?php
namespace app\publics\controller;
use app\ApiRest;
use app\publics\model\TmplConfig;
use longbingcore\wxcore\WxTmpl;
use think\App;
class IndexTmpl extends ApiRest
{
protected $model;
public function __construct(App $app) {
parent::__construct($app);
$this->model = new TmplConfig();
}
/**
* @author chenniang
* @DataTime: 2019-12-26 15:40
* @功能说明: 获取模版消息
*/
public function getTmplId(){
$input = $this->_input;
$dis[] = ['uniacid','=',$this->_uniacid];
$dis[] = ['tmpl_id','<>',0];
$dis[] = ['tmpl_name','in',$input['tmpl_name']];
$data = $this->model->tmplIdList($dis);
return $this->success($data);
}
}