|
|
|
@ -387,6 +387,19 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void sendVerifyEmail(JSONObject device) {
|
|
|
|
|
JSONObject client = clientManager.getClientInfo(device.getIntValue("client_id"));
|
|
|
|
|
JSONObject account = clientAccountMapper.findById(device.getString("account_id"));
|
|
|
|
|
if(client==null){
|
|
|
|
|
throw new NotFoundException("Merchant Not Found");
|
|
|
|
|
}
|
|
|
|
|
if(account==null){
|
|
|
|
|
throw new NotFoundException("Account Not Found");
|
|
|
|
|
}
|
|
|
|
|
clientManager.sendVerifyEmail(client,account.getString("account_id"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void updateClient(JSONObject device, AppClientBean appClientBean) {
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|