This commit is contained in:
root 2019-12-23 16:14:06 +08:00
parent e7b9213510
commit fd00e715f3
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ use App\Models\Plan;
class PlanController extends Controller class PlanController extends Controller
{ {
public function getPlans (Request $request) { public function fetch (Request $request) {
$plan = Plan::where('show', 1)->get(); $plan = Plan::where('show', 1)->get();
return response([ return response([
'data' => $plan 'data' => $plan

File diff suppressed because one or more lines are too long