Backend Service
This commit is contained in:
@@ -298,7 +298,7 @@ long medTrUpdateProfile(CVars in, CVars &out) {
|
||||
OPTIONAL(in, "street2") REQ_STRING(in, "street2", 1, 49, "(.*)");
|
||||
REQ_STRING(in, "city", 5, 49, "(.*)");
|
||||
// OPTIONAL(in, "phone") REQ_STRING(in, "phone", 5, 23, "(.*)");
|
||||
REQ_STRING(in, "zipcode", 1, 12, "(.*)");
|
||||
OPTIONAL(in, "zipcode") REQ_STRING(in, "zipcode", 1, 12, "(.*)");
|
||||
REQ_STRING(in, "state", 1, 59, "(.*)");
|
||||
REQ_STRING(in, "country", 1, 3, "(.*)");
|
||||
REQ_STRING(in, "loc", 5, 16, "(.*)");
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
long provider_login(CVars in, CVars &out);
|
||||
long PracticeLogin(CVars in, CVars &out);
|
||||
long PracticeSessionCheck(long practice_id, long practice_users_id, const char *sessionid, int create);
|
||||
long provider_createmember(CVars in, CVars &out);
|
||||
|
||||
|
||||
long providers_call(CVars in, CVars &out) {
|
||||
@@ -33,6 +34,10 @@ long providers_call(CVars in, CVars &out) {
|
||||
return provider_login(in, out);
|
||||
break;
|
||||
|
||||
case MERMS_PROVIDERS_CREATEMEMBER:
|
||||
return provider_createmember(in, out);
|
||||
break;
|
||||
|
||||
case EXISTING_CARD:
|
||||
REQ_LONG(in, "paymentid", 0, -1); // now we have to make sure the payment id is valid for this customer
|
||||
|
||||
@@ -57,6 +62,17 @@ long providers_call(CVars in, CVars &out) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
long provider_createmember(CVars in, CVars &out){
|
||||
logfmt(logINFO, "ENTER CALL long providers_createmember(CVars in, CVars &out)");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
long provider_login(CVars in, CVars &out) {
|
||||
|
||||
long ret = -1;
|
||||
|
||||
Reference in New Issue
Block a user