Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
feelver
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2F-ART
feelver
Commits
04764f68
Commit
04764f68
authored
Aug 21, 2020
by
Mobile : Jetrin Phuekkaew (N'new)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update base api for picture
parent
486f6e83
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
12 deletions
+7
-12
lib/model/shoplistdetail/shoplistdetail_Model.dart
+2
-2
lib/service/api.dart
+1
-1
lib/ui/nearme/near_me_list.dart
+1
-1
lib/ui/shop/shop_Nearby_places.dart
+1
-1
lib/ui/shop/shop_list_detail.dart
+1
-6
lib/ui/shop/shop_service.dart
+1
-1
No files found.
lib/model/shoplistdetail/shoplistdetail_Model.dart
View file @
04764f68
...
...
@@ -46,7 +46,7 @@ class Result {
String
storeLogo
;
String
isFacilities
;
String
distanceWithLocation
;
String
star
;
var
star
;
List
<
StoreProduct
>
storeProduct
;
List
<
Comment
>
comment
;
List
<
dynamic
>
commentReview
;
...
...
@@ -83,7 +83,7 @@ class Result {
storeLogo
=
json
[
'store_logo'
];
isFacilities
=
json
[
'is_facilities'
];
distanceWithLocation
=
json
[
'distance_with_location'
];
star
=
json
[
'star'
];
star
=
json
[
'star'
]
.
toString
()
;
if
(
json
[
'store_product'
]
!=
null
)
{
storeProduct
=
new
List
<
StoreProduct
>();
json
[
'store_product'
].
forEach
((
v
)
{
storeProduct
.
add
(
new
StoreProduct
.
fromJson
(
v
));
});
...
...
lib/service/api.dart
View file @
04764f68
...
...
@@ -29,7 +29,7 @@ class Api<T> {
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvYmFja2VuZC11YXQuZmVlbHZlci5jb21cL2FwaVwvbG9naW4iLCJpYXQiOjE1OTYxMDAzNTgsImV4cCI6MTYwMzMwMDM1OCwibmJmIjoxNTk2MTAwMzU4LCJqdGkiOiJ2YjA2S0FHR1JtZDFseEw1Iiwic3ViIjozNzMsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.UkY70AshvW5O4M63XY_Iv2IPBohSUUwnRF1oi46p2zs"
,
};
static
final
String
baseApi
=
"https://backend-uat.feelver.com/api/storage/"
;
static
final
String
baseApi
forimage
=
"https://backend-uat.feelver.com/api/storage/"
;
Future
<
Response
<
T
>>
favorite
(
Object
body
)
async
{
var
_model
;
var
_fail
;
...
...
lib/ui/nearme/near_me_list.dart
View file @
04764f68
...
...
@@ -218,7 +218,7 @@ class _NearmeListState extends State<NearmeList> with TickerProviderStateMixin {
),
Expanded
(
child:
Image
.
network
(
Api
.
baseApi
+
img
,
Api
.
baseApi
forimage
+
img
,
// width: SizeConfig.getWidth(50),
height:
SizeConfig
.
getHeight
(
160
),
fit:
BoxFit
.
fitHeight
,
...
...
lib/ui/shop/shop_Nearby_places.dart
View file @
04764f68
...
...
@@ -235,7 +235,7 @@ class _ShopNearbyPlacesPageState extends State<ShopNearbyPlacesPage>with TickerP
fit:
BoxFit
.
cover
,
)
:
Image
.
network
(
Api
.
baseApi
+
img
,
Api
.
baseApi
forimage
+
img
,
fit:
BoxFit
.
cover
,
),),
),
...
...
lib/ui/shop/shop_list_detail.dart
View file @
04764f68
...
...
@@ -76,12 +76,7 @@ class _ShopListDetailState extends State<ShopListDetail> {
child:
Container
(
child:
GestureDetector
(
onTap:
()
{
showDialog
(
context:
context
,
builder:
(
BuildContext
context
)
{
return
NavDrawer
();
},
);
Navigator
.
pop
(
context
);
},
child:
Icon
(
Icons
.
keyboard_arrow_left
,
...
...
lib/ui/shop/shop_service.dart
View file @
04764f68
...
...
@@ -76,7 +76,7 @@ class _ShopServicePageState extends State<ShopServicePage>
fit:
BoxFit
.
cover
,
)
:
Image
.
network
(
Api
.
baseApi
+
image
,
Api
.
baseApi
forimage
+
image
,
fit:
BoxFit
.
cover
,
),),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment