upload auto fill offer

This commit is contained in:
xiaomlove
2022-05-25 02:15:41 +08:00
parent 4ccfa9fc3a
commit 69f02de4eb
8 changed files with 46 additions and 10 deletions

View File

@@ -68,3 +68,9 @@ function removeUserLeechWarn($params)
return $rep->removeLeechWarn($CURUSER['id'], $params['uid']);
}
function getOffer($params)
{
$offer = \App\Models\Offer::query()->findOrFail($params['id']);
return $offer->toArray();
}