更新 app/controller/api/store/merchant/Merchant.php

更新
This commit is contained in:
mkm 2023-09-24 23:23:17 +08:00
parent 749b3fd61a
commit 0dcef74daf

View File

@ -264,7 +264,7 @@ class Merchant extends BaseController
if(empty($id)){
return app('json')->fail('参数错误');
}
$data = Db::name('merchant')->where('mer_id',$id)->field('uid,mer_id,mer_name,recharge_margin,is_margin')->find();
$data = Db::name('merchant')->where('mer_id',$id)->field('uid,mer_id,mer_name,margin,recharge_margin,is_margin')->find();
return app('json')->success($data);
}