Closed rawaneyad closed 2 years ago
Create route /api/v1/gym/subscription Create controller Handle data Form the database
Response
"gymSubscription": [ { "id": 8, "username": "احمد", "userPhone": "0599999998", "type": "month", "status": false, "createdAt": "2022-05-23T07:15:12.056Z" }, { "id": 7, "username": "روان", "userPhone": "0599999999", "type": "sixMonth", "status": false, "createdAt": "2022-05-23T07:14:05.281Z" }, { "id": 1, "username": "محمود علي", "userPhone": "0591234567", "type": "month", "status": true, "createdAt": "2022-05-22T14:09:19.836Z" }, { "id": 2, "username": "علي محمود", "userPhone": "0597654321", "type": "sixMonth", "status": true, "createdAt": "2022-05-22T14:09:19.836Z" }, { "id": 6, "username": "علياء جاد", "userPhone": "0592321892", "type": "sixMonth", "status": true, "createdAt": "2022-05-22T14:09:19.836Z" } ] }
Create route /api/v1/gym/subscription Create controller Handle data Form the database
Response