Merge pull request 'dev' (#6) from dev into master

Reviewed-on: #6
This commit is contained in:
mkm 2023-09-05 16:40:30 +08:00
commit c030493fe3
6 changed files with 10 additions and 3 deletions

View File

@ -641,7 +641,8 @@ class Community extends BaseController
if (!$communityInfo) {
return app('json')->fail('委托商品不存在');
}
$entrustInfo = Db::name('entrust')->where('community_id', $id)->where('entrust_mer_id', $this->request->uid())->where('is_del', 0)->where('status', 0)->fetchSql(false)->find();
$merchantId = Db::name('merchant')->where('uid', $this->request->uid())->value('mer_id');
$entrustInfo = Db::name('entrust')->where('community_id', $id)->where('entrust_mer_id', $merchantId)->where('is_del', 0)->where('status', 0)->fetchSql(false)->find();
if (!$entrustInfo) {
return app('json')->fail('用户无审核此委托商品权限');
}

View File

@ -246,7 +246,7 @@ class Merchant extends BaseController
$delivery = $repository->get($id) + systemConfig(['tx_map_key']);
$data = array_merge($data,$delivery);
$data['sys_bases_status'] = systemConfig('sys_bases_status') === '0' ? 0 : 1;
$data['type_code'] = Db::name('MerchantType')->where('mer_type_id', $data['type_id'])->value('type_code');
return app('json')->success($data);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://mer.crmeb.net/static/images/cancellation-header.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://mer.crmeb.net/static/images/cancellation-header.png