Subversion Repositories SmartDukaan

Rev

Rev 32702 | Rev 32737 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32702 Rev 32703
Line 1311... Line 1311...
1311
        String fromMobile = authUser.getMobileNumber();
1311
        String fromMobile = authUser.getMobileNumber();
1312
 
1312
 
1313
        com.spice.profitmandi.dao.entity.user.User fofoUser = userUserRepository.selectById(fofoId);
1313
        com.spice.profitmandi.dao.entity.user.User fofoUser = userUserRepository.selectById(fofoId);
1314
        String toMobile = retailerService.getAllFofoRetailers().get(fofoId).getMobileNumber();
1314
        String toMobile = retailerService.getAllFofoRetailers().get(fofoId).getMobileNumber();
1315
 
1315
 
-
 
1316
        //https://ccs1.smartpingcc.io/v2/clickToCall/para?&user_id=71287091&token=InCfClzwFUtLUW610faI&from=18086&fromType=Agent&fromCLI=%2B918645310932&to=XXXXXXXXXX&toCLI=%2B918645310932
-
 
1317
 
-
 
1318
 
1316
        String url = String.format("https://ccs1.smartpingcc.io/v2/clickToCall/para?&user_id=71287091&token=InCfClzwFUtLUW610faI&from=%s&to=%s", fromMobile, toMobile);
1319
        String url = String.format("https://ccs1.smartpingcc.io/v2/clickToCall/para?&user_id=71287091&token=InCfClzwFUtLUW610faI&from=%s&to=%s", fromMobile, toMobile);
1317
        restClient.get(url, null, null);
1320
        restClient.get(url, null, null);
1318
 
1321
 
1319
        return responseSender.ok(true);
1322
        return responseSender.ok(true);
1320
    }
1323
    }