소스 검색

Weenier 168otc项目部署 0630

wesmiler 3 년 전
부모
커밋
e739bee1fc
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Admin/PaymentController.php
  2. 1 1
      app/Services/Api/MemberPaymentService.php

+ 1 - 1
app/Http/Controllers/Admin/PaymentController.php

@@ -54,7 +54,7 @@ class PaymentController extends Backend
      * @return array|mixed
      */
     public function edit(){
-        return $this->service->edit($this->userInfo['user_id']);
+        return $this->service->editData($this->userInfo['user_id']);
     }
 
 }

+ 1 - 1
app/Services/Api/MemberPaymentService.php

@@ -196,7 +196,7 @@ class MemberPaymentService extends BaseService
      * 后台添加/编辑
      * @return array
      */
-    public function edit($userId){
+    public function editData($userId){
         $data = request()->all();
 
         $id = isset($data['id'])? intval($data['id']) : 0;