feat: 增加'receipts'字段更新功能和用户收货地址查询
This commit is contained in:
parent
841d3a632a
commit
02aa52cd3f
@ -55,6 +55,7 @@ class StoreCashFinanceFlowLogic extends BaseLogic
|
||||
try {
|
||||
StoreCashFinanceFlow::where('id', $params['id'])->update([
|
||||
'file' => $params['file'],
|
||||
'receipts' => $params['receipts']??0,
|
||||
'status'=>1,
|
||||
'admin_id'=>$params['admin_id'],
|
||||
]);
|
||||
|
@ -92,6 +92,7 @@ class ProductLists extends BaseApiDataLists implements ListsSearchInterface, Lis
|
||||
} elseif ($this->userId > 0) {
|
||||
$uid = $this->userId;
|
||||
}
|
||||
$user_ship=-1;
|
||||
if ($uid > 0) {
|
||||
$user_ship = User::where('id', $uid)->value('user_ship');
|
||||
if (in_array($user_ship, [4, 6, 7])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user