13283339616 6 years ago
parent
commit
9cb9ed0865
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Api/V1/Controllers/FeaturesController.php

+ 2 - 2
app/Api/V1/Controllers/FeaturesController.php

@@ -449,7 +449,7 @@ class FeaturesController extends BaseController
449 449
             DB::table('collect_recipes')->insert($data);
450 450
             $code=1;
451 451
         }
452
-        return $this->response->array(self::returnValue(['data' => '收藏成功','status'=>$code], 200));
452
+        return $this->response->array(self::returnValue(['data' => ['status'=>$code]],200));
453 453
     }
454 454
 
455 455
     public function receiptPersonList(Request $request){
@@ -530,6 +530,6 @@ class FeaturesController extends BaseController
530 530
             DB::table('collect_vest_publish')->insert($data);
531 531
             $code=1;
532 532
         }
533
-        return $this->response->array(self::returnValue(['data' => '发现收藏成功','status'=>$code], 200));
533
+        return $this->response->array(self::returnValue(['data' => ['status'=>$code]], 200));
534 534
     }
535 535
 }