|
@@ -581,7 +581,7 @@ class User extends BaseController
|
|
|
*/
|
|
*/
|
|
|
public function changeAwardIntegral($id, UserNowMoneyValidate $validate)
|
|
public function changeAwardIntegral($id, UserNowMoneyValidate $validate)
|
|
|
{
|
|
{
|
|
|
- $data = $this->request->params(['now_money', 'type']);
|
|
|
|
|
|
|
+ $data = $this->request->params(['award_integral', 'type']);
|
|
|
$validate->check($data);
|
|
$validate->check($data);
|
|
|
if (!$this->repository->exists($id))
|
|
if (!$this->repository->exists($id))
|
|
|
return app('json')->fail('数据不存在');
|
|
return app('json')->fail('数据不存在');
|
|
@@ -602,7 +602,7 @@ class User extends BaseController
|
|
|
*/
|
|
*/
|
|
|
public function changeAwardRange($id, UserNowMoneyValidate $validate)
|
|
public function changeAwardRange($id, UserNowMoneyValidate $validate)
|
|
|
{
|
|
{
|
|
|
- $data = $this->request->params(['now_money', 'type']);
|
|
|
|
|
|
|
+ $data = $this->request->params(['award_range', 'type']);
|
|
|
$validate->check($data);
|
|
$validate->check($data);
|
|
|
if (!$this->repository->exists($id))
|
|
if (!$this->repository->exists($id))
|
|
|
return app('json')->fail('数据不存在');
|
|
return app('json')->fail('数据不存在');
|