login type

merge-requests/140/head
Sultan Khan 4 years ago
parent c00391d3e5
commit d1336eec8b

@ -6,8 +6,8 @@ import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart';
const MAX_SMALL_SCREEN = 660;
const BASE_URL = 'https://uat.hmgwebservices.com/';
//const BASE_URL = 'https://hmgwebservices.com/';
//const BASE_URL = 'https://uat.hmgwebservices.com/';
const BASE_URL = 'https://hmgwebservices.com/';
const GET_PROJECT = 'Services/Lists.svc/REST/GetProject';
///Doctor

@ -70,7 +70,7 @@ class BaseAppClient {
? body['PatientType']
: user['PatientType'] != null
? user['PatientType']
: null
: PATIENT_TYPE
: PATIENT_TYPE;
body['PatientTypeID'] = body.containsKey('PatientTypeID')
@ -78,7 +78,7 @@ class BaseAppClient {
? body['PatientTypeID']
: user['PatientTypeID'] != null
? user['PatientTypeID']
: null
: PATIENT_TYPE_ID
: PATIENT_TYPE_ID;
if (user != null) {
body['TokenID'] = token;

Loading…
Cancel
Save