This commit is contained in:
root
2019-12-23 16:02:56 +08:00
parent 648ae8ca31
commit 3154084482
21 changed files with 30 additions and 30 deletions

View File

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