提交 51cc871c authored 作者: chengye's avatar chengye

测试抄表时,对电表基本信息进行校验

上级 ead0d267
...@@ -270,6 +270,8 @@ class Em extends Base ...@@ -270,6 +270,8 @@ class Em extends Base
public function check(){ public function check(){
$post = Request::post(); $post = Request::post();
dd($post);
$em_numb = $post['em_numb']; $em_numb = $post['em_numb'];
$em = \app\em\model\Em::with('rule')->get(['em_numb'=>$em_numb]); $em = \app\em\model\Em::with('rule')->get(['em_numb'=>$em_numb]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论