-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from EAT-SSU/130-feat-문의하기
[Feat] 문의하기 & BaseResponse 작업
- Loading branch information
Showing
50 changed files
with
537 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/eatssu/android/data/dto/request/ChangeNicknameRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.eatssu.android.data.dto.request | ||
|
||
data class ChangeNicknameRequest( | ||
val nickname: String, | ||
) |
5 changes: 0 additions & 5 deletions
5
app/src/main/java/com/eatssu/android/data/dto/request/ChangeNicknameRequestDto.kt
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/eatssu/android/data/dto/request/ChangePwRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.eatssu.android.data.dto.request | ||
|
||
data class ChangePwRequest( | ||
val pwd: String, | ||
) |
5 changes: 0 additions & 5 deletions
5
app/src/main/java/com/eatssu/android/data/dto/request/ChangePwRequestDto.kt
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/eatssu/android/data/dto/request/InquiriesRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.eatssu.android.data.model.request | ||
|
||
data class InquiriesRequest( | ||
val content: String, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
.../data/dto/request/ModifyMenuRequestDto.kt → ...oid/data/dto/request/ModifyMenuRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package com.eatssu.android.data.dto.request | ||
|
||
data class ModifyMenuRequestDto( | ||
val addTodayMenuList: List<AddTodayMenu> | ||
){ | ||
data class ModifyMenuRequest( | ||
val addTodayMenuList: List<AddTodayMenu>, | ||
) { | ||
data class AddTodayMenu( | ||
val name: String, | ||
val price: Int | ||
val price: Int, | ||
) | ||
} |
4 changes: 2 additions & 2 deletions
4
...ata/dto/request/ModifyReviewRequestDto.kt → ...d/data/dto/request/ModifyReviewRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package com.eatssu.android.data.dto.request | ||
|
||
data class ModifyReviewRequestDto( | ||
data class ModifyReviewRequest( | ||
val content: String, | ||
val grade: Int, | ||
val reviewTags: List<String> | ||
val reviewTags: List<String>, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...ta/dto/response/GetMyReviewResponseDto.kt → .../data/dto/response/GetMyReviewResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.../dto/response/GetReviewInfoResponseDto.kt → ...ata/dto/response/GetReviewInfoResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
package com.eatssu.android.data.dto.response | ||
|
||
data class GetReviewInfoResponseDto( | ||
data class GetReviewInfoResponse( | ||
val menuName: List<String>, | ||
val totalReviewCount: Int, | ||
val mainGrade: Double, | ||
val amountGrade: Double, | ||
val tasteGrade: Double, | ||
val reviewGradeCnt: ReviewGradeCnt, | ||
){ | ||
) { | ||
data class ReviewGradeCnt( | ||
val fiveCnt: Int, | ||
val fourCnt: Int, | ||
val oneCnt: Int, | ||
val threeCnt: Int, | ||
val twoCnt: Int | ||
val twoCnt: Int, | ||
) | ||
} |
File renamed without changes.
17 changes: 0 additions & 17 deletions
17
app/src/main/java/com/eatssu/android/data/dto/response/InfoResponseDto.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...su/android/data/model/FirebaseInfoItem.kt → ...tssu/android/data/model/RestaurantInfo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package com.eatssu.android.data.model | ||
|
||
data class FirebaseInfoItem( | ||
data class RestaurantInfo( | ||
val name: String, | ||
val location: String, | ||
val time: String, | ||
val etc: String | ||
val etc: String, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
app/src/main/java/com/eatssu/android/data/service/InquiresService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.eatssu.android.data.service | ||
|
||
import com.eatssu.android.base.BaseResponse | ||
import com.eatssu.android.data.model.request.InquiriesRequest | ||
import retrofit2.Call | ||
import retrofit2.http.Body | ||
import retrofit2.http.POST | ||
|
||
interface InquiresService { | ||
@POST("inquiries/") // 문의 작성 | ||
fun inquireContent( | ||
@Body request: InquiriesRequest, | ||
): Call<BaseResponse<InquiriesRequest>> | ||
|
||
} |
Oops, something went wrong.