WasteScale.php 438 B

123456789101112131415161718
  1. <?php
  2. namespace app\api\controller\v1;
  3. use app\api\controller\Base;
  4. use app\hander\HelpHander;
  5. class WasteScale extends Base
  6. {
  7. public function queryScaleSn(){
  8. $orgid=input('orgId');
  9. $userid=input('userId');
  10. $ret=(new \app\common\model\WasteScale())->list($orgid,$userid);
  11. if($ret){
  12. HelpHander::success($ret);
  13. }else{
  14. HelpHander::error('暂无数据');
  15. }
  16. }
  17. }