parent
d466f2fc0f
commit
adc653509b
@ -0,0 +1,22 @@
|
|||||||
|
package au.com.royalpay.payment.manage.kyc.web;
|
||||||
|
|
||||||
|
import au.com.royalpay.payment.manage.kyc.core.KycService;
|
||||||
|
import au.com.royalpay.payment.manage.permission.manager.PartnerMapping;
|
||||||
|
import au.com.royalpay.payment.tools.CommonConsts;
|
||||||
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/sys/kyc/partner")
|
||||||
|
public class KycController {
|
||||||
|
@Resource
|
||||||
|
private KycService kycService;
|
||||||
|
|
||||||
|
@PartnerMapping(value = "/notifyBd", method = RequestMethod.PUT)
|
||||||
|
@ResponseBody
|
||||||
|
public void clientKycBdIntervention(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject account) {
|
||||||
|
kycService.kycNotifyBd(account, "web");
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,301 @@
|
|||||||
|
<style type="text/css">
|
||||||
|
#bg {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0%;
|
||||||
|
left: 0%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: black;
|
||||||
|
z-index: 1001;
|
||||||
|
-moz-opacity: 0.7;
|
||||||
|
opacity: .70;
|
||||||
|
filter: alpha(opacity=70);
|
||||||
|
}
|
||||||
|
|
||||||
|
#show {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 20%;
|
||||||
|
left: 50%;
|
||||||
|
width: 50%;
|
||||||
|
padding: 50px;
|
||||||
|
z-index: 2004;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.industry-p {
|
||||||
|
width: 95%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img-size {
|
||||||
|
height: 100px;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
.btn-default:active,
|
||||||
|
.btn-default.active,
|
||||||
|
.open > .dropdown-toggle.btn-default {
|
||||||
|
color: #333;
|
||||||
|
background-color: #f7bf90;
|
||||||
|
border-color: #adadad;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="nav-tabs-custom">
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="active">
|
||||||
|
<a>Partner Detail</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a ui-sref="partnerKYCProgress.bdHelpKycProgress({clientMoniker:partner.client_moniker})">KYC Files Audit</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="tab-content" ui-view>
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">
|
||||||
|
Partner Basic Information
|
||||||
|
<a role="button" class="" ng-click="configMasterMerchant()"
|
||||||
|
ng-if="partner.show_all_permission && ('10'|withRole)||(partner.show_all_permission && ('1'|withRole))">
|
||||||
|
(<i class="fa fa-arrows" aria-hidden="true"></i> Config master merchant)
|
||||||
|
</a>
|
||||||
|
<a role="button" class="pull-right"
|
||||||
|
ng-if="partner.show_all_permission && ('110'|withRole)||(partner.show_all_permission && ('1'|withRole))"
|
||||||
|
ui-sref="partners.edit({clientMoniker:partner.client_moniker})">
|
||||||
|
<i class="fa fa-edit"></i> Edit
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-horizontal">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Partner Code</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static">
|
||||||
|
<span id="parent_code">{{partner.client_moniker}}</span>
|
||||||
|
<span ng-if="partner.parent_client_id!=null">(Sub Partner of
|
||||||
|
<a ui-sref="partners.detail({clientMoniker:partner.parent_client.client_moniker})"
|
||||||
|
ng-bind="partner.parent_client.client_moniker"></a>)
|
||||||
|
</span>
|
||||||
|
<span ng-if="partner.is_valid==0"
|
||||||
|
ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Company Name</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static">
|
||||||
|
<span ng-bind="partner.company_name"></span>
|
||||||
|
<span
|
||||||
|
ng-if="isComplianceOfCompanyName && partner.open_status"
|
||||||
|
style="margin-left: 10px;font-weight: 700;color: red;">
|
||||||
|
注意:(微信渠道可能不合规)
|
||||||
|
</span>
|
||||||
|
<span class="description-text text-red" ng-if="('10000000010' | withRole)" ng-bind="partner.same_company_name"></span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Short Name</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static pull-left" ng-bind="partner.short_name"></p>
|
||||||
|
<p class="form-control-static pull-left"
|
||||||
|
ng-if="isComplianceOfShortName && partner.open_status"
|
||||||
|
style="margin-left: 10px;font-weight: 700;color: red;">
|
||||||
|
注意:(微信渠道可能不合规)
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Business Name</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.business_name"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Store Name</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static pull-left" ng-bind="partner.store_name"></p>
|
||||||
|
<p class="form-control-static pull-left"
|
||||||
|
ng-if="isComplianceOfShortName && partner.open_status"
|
||||||
|
style="margin-left: 10px;font-weight: 700;color: red;">
|
||||||
|
注意:(微信渠道可能不合规)
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Business Structure</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static pull-left"
|
||||||
|
ng-bind="partner.business_structure|business_structure"></p>
|
||||||
|
<p class="form-control-static pull-left"
|
||||||
|
ng-if="isComplianceOfBusinessStructure && partner.open_status"
|
||||||
|
style="margin-left: 10px;font-weight: 700;color: red;">
|
||||||
|
注意:(微信渠道可能不合规)
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Logo</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<img ng-src="{{partner.logo_url}}" style="max-height: 100px;">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group" ng-if="partner.abn">
|
||||||
|
<label class="control-label col-sm-2">ABN</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.abn"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group" ng-if="partner.acn">
|
||||||
|
<label class="control-label col-sm-2">ACN</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.acn"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Industry</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.industry|partner_industry"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div hidden class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Sector</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.sector"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Service Phone</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.company_phone||'-'"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Major Products/Service</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.description"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Remark</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.remark"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group" ng-if="partner.referrer_id">
|
||||||
|
<label class="control-label col-sm-2">Referrer</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.referrer_name"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--end 商户基本资料-->
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Partner Contact Information</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-horizontal">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-2">Contact Person Name</label>
|
||||||
|
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.contact_person"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">Phone</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static" ng-bind="partner.contact_phone"></p>
|
||||||
|
<p class="description-text text-red" ng-if="('10000000010' | withRole)" ng-bind="partner.same_phone"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">E-mail</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static">
|
||||||
|
<span ng-bind="partner.contact_email"></span>
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
<p class="description-text text-red" ng-if="('10000000010' | withRole)" ng-bind="partner.same_email"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--end 商户联系资料-->
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Address Information</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-horizontal">
|
||||||
|
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">Address</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static" ng-bind="partner.address"></p>
|
||||||
|
<p class="description-text text-red" ng-if="('10000000010' | withRole)" ng-bind="partner.same_address"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">Suburb</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static" ng-bind="partner.suburb"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">PostCode</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static" ng-bind="partner.postcode"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">State</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static" ng-bind="partner.state"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label class="control-label col-sm-4">Country</label>
|
||||||
|
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<p class="form-control-static" ng-bind="partner.country"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group ">
|
||||||
|
<label class="control-label col-sm-2">Timezone</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<p class="form-control-static" ng-bind="partner.timezone|timezoneLabel"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in new issue