mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
upload auto fill offer
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user