parent
eae6ff652d
commit
38da65cf72
@ -0,0 +1,15 @@
|
|||||||
|
app.yeepay.merchant-id=
|
||||||
|
app.yeepay.app-key=cbp_120180219
|
||||||
|
app.yeepay.aes-secret-key=
|
||||||
|
app.yeepay.public-key.store-type=string
|
||||||
|
app.yeepay.public-key.cert-type=RSA2048
|
||||||
|
app.yeepay.public-key.value=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6p0XWjscY+gsyqKRhw9MeLsEmhFdBRhT2emOck/F1Omw38ZWhJxh9kDfs5HzFJMrVozgU+SJFDONxs8UB0wMILKRmqfLcfClG9MyCNuJkkfm0HFQv1hRGdOvZPXj3Bckuwa7FrEXBRYUhK7vJ40afumspthmse6bs6mZxNn/mALZ2X07uznOrrc2rk41Y2HftduxZw6T4EmtWuN2x4CZ8gwSyPAW5ZzZJLQ6tZDojBK4GZTAGhnn3bg5bBsBlw2+FLkCQBuDsJVsFPiGh/b6K/+zGTvWyUcu+LUj2MejYQELDO3i2vQXVDk7lVi2/TcUYefvIcssnzsfCfjaorxsuwIDAQAB
|
||||||
|
app.yeepay.public-key.password=
|
||||||
|
app.yeepay.private-key.store-type=string
|
||||||
|
app.yeepay.private-key.cert-type=RSA2048
|
||||||
|
app.yeepay.private-key.value=MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCdaxJm3b5bvPZHvvXDfJ4NUiG7yISRYgUfiQycVKCJZ2jL+Y29Hmcnc1hPMZjVbJYPkhaIp+f92j7qf5P/qo+Ru4DyY3HhzsJAZMMWVlWeaEG+nZsyN06XC7NiUrFMLUAyqtaYRPDBKHKss54at16rQO7UoqXVqhKZyWdBgRbX0J3X0z82LEh11u8Izi/mUH42NY6ttkDsxBzXeNcT81RHrm9A/R/6AzzykFAPxGVdjjmbYnrk/WUwLDaKdf1RvDF/kWSCmbzQSX/D24UcDekd50TJHaqhjvBVFwLtiFWAO7xudEDhByfj22YOZuhuddyhJygkUI996IKtl+UFI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fCy9cOiF0LD/fZBW49l6xQbx7lLtzbwa/nk672hFhzfy565j4ejywykVIOWmoMS5RqWXB07rbyF0OZrfEcLPArfXZ4iE6T9OZ2UJLK0gdUWz4oYWBRK7NQd5qEMOiUFy8YOGgT+dESVYwN2irwLikuET0S9a
|
||||||
|
app.yeepay.private-key.password=
|
||||||
|
app.yeepay.http-client.connect-timeout=30000
|
||||||
|
app.yeepay.http-client.read-timeout=30000
|
||||||
|
app.yeepay.http-client.max-conn-total=200
|
||||||
|
app.yeepay.http-client.max-conn-per-route=0
|
@ -0,0 +1,41 @@
|
|||||||
|
define(['../app'], function (app) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
var yeepayBusinessContentMap = [
|
||||||
|
{
|
||||||
|
"label": "服务贸易",
|
||||||
|
"value": "SERVICETRADE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "货物贸易",
|
||||||
|
"value": "GOODSTRADE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "留学",
|
||||||
|
"value": "OVERSEASTUDY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "酒店机票",
|
||||||
|
"value": "HOTELTICKET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "国际运输",
|
||||||
|
"value": "INTTRANSPORT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "旅游服务",
|
||||||
|
"value": "TOURSERVICE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "保险",
|
||||||
|
"value": "INSURANCE"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
app.factory('yeepayBusinessContentMap', function () {
|
||||||
|
return {
|
||||||
|
configs: function () {
|
||||||
|
return yeepayBusinessContentMap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
@ -0,0 +1,45 @@
|
|||||||
|
define(['../app'], function (app) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
var yeepayIndustryMap = [
|
||||||
|
{
|
||||||
|
"label": "货物贸易",
|
||||||
|
"value": "ehk100000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "旅游",
|
||||||
|
"value": "ehk200000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "文化教育",
|
||||||
|
"value": "ehk300000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "服务贸易",
|
||||||
|
"value": "ehk400000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "物流",
|
||||||
|
"value": "ehk500000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "数字娱乐",
|
||||||
|
"value": "ehk600000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "金融保险",
|
||||||
|
"value": "ehk700000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "其他",
|
||||||
|
"value": "ehk999999"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
app.factory('yeepayIndustryMap', function () {
|
||||||
|
return {
|
||||||
|
configs: function () {
|
||||||
|
return yeepayIndustryMap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 4.0 KiB |
@ -0,0 +1,181 @@
|
|||||||
|
<div class="content">
|
||||||
|
<form novalidate name="subForm">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">Apply Yeepay Sub Merchant Id</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-horizontal">
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':subForm.business_content.$invalid && subForm.business_content.$dirty}">
|
||||||
|
<label class="control-label col-sm-3" for="business_content">* Business Content</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<select class="form-control" name="business_content"
|
||||||
|
ng-model="subMerchantInfo.business_content"
|
||||||
|
id="business_content" required
|
||||||
|
ng-options="business_content.value as business_content.label for business_content in yeepay_business_contents">
|
||||||
|
<option value="">Please Choose</option>
|
||||||
|
</select>
|
||||||
|
<div ng-messages="subForm.business_content.$error" ng-if="subForm.business_content.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group"
|
||||||
|
ng-class="{'has-error':subForm.industry.$invalid && subForm.industry.$dirty}">
|
||||||
|
<label class="control-label col-sm-3" for="industry">* Business Category</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<select class="form-control" name="industry"
|
||||||
|
ng-model="subMerchantInfo.industry"
|
||||||
|
id="industry" required
|
||||||
|
ng-options="industry.value as industry.label for industry in yeepay_industries">
|
||||||
|
<option value="">Please Choose</option>
|
||||||
|
</select>
|
||||||
|
<div ng-messages="subForm.industry.$error" ng-if="subForm.industry.$dirty">
|
||||||
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >* Corporate ID Card Front</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadLegalIDcardFront($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Corporate ID Card Front
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="legalIDcardFrontProgress.value"
|
||||||
|
ng-if="legalIDcardFrontProgress"></uib-progressbar>
|
||||||
|
<div ng-if="legalIDcardFront">Url:{{legalIDcardFront}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >* Corporate ID Card Back</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadLegalIDcardBack($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Corporate ID Card Back
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="legalIDcardBackProgress.value"
|
||||||
|
ng-if="legalIDcardBackProgress"></uib-progressbar>
|
||||||
|
<div ng-if="legalIDcardBack">Url:{{legalIDcardBack}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >* Business Licence</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadBusinessLicence($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Business Licence
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="businessLicenceProgress.value"
|
||||||
|
ng-if="businessLicenceProgress"></uib-progressbar>
|
||||||
|
<div ng-if="businessLicence">Url:{{businessLicence}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >* Tax Level</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadTaxLevel($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Tax Level
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="taxLevelProgress.value"
|
||||||
|
ng-if="taxLevelProgress"></uib-progressbar>
|
||||||
|
<div ng-if="taxLevel">Url:{{taxLevel}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >* Bank Account Opening Permit</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadBankAccountOpen($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Bank Account Opening Permit
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="bankAccountOpenProgress.value"
|
||||||
|
ng-if="bankAccountOpenProgress"></uib-progressbar>
|
||||||
|
<div ng-if="bankAccountOpen">Url:{{bankAccountOpen}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >* Organization Code Proof</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadOrgCode($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Organization Code Proof
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="orgCodeProgress.value"
|
||||||
|
ng-if="orgCodeProgress"></uib-progressbar>
|
||||||
|
<div ng-if="orgCode">Url:{{orgCode}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >Non-standard Protocol File</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadNonStanProtocol($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Non-standard Protocol File
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="nonStanProtocolProgress.value"
|
||||||
|
ng-if="nonStanProtocolProgress"></uib-progressbar>
|
||||||
|
<div ng-if="nonStanProtocol">Url:{{nonStanProtocol}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="control-label col-sm-3" >Other Zip File</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="form-control-static">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ngf-select="uploadZipPath($file)"
|
||||||
|
accept="image/*">
|
||||||
|
<i class="fa fa-upload"></i> Upload Other Zip File
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<uib-progressbar value="zipPathProgress.value"
|
||||||
|
ng-if="zipPathProgress"></uib-progressbar>
|
||||||
|
<div ng-if="zipPath">Url:{{zipPath}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn-group margin-bottom margin-top">
|
||||||
|
<button class="btn btn-success" type="button"
|
||||||
|
ng-click="saveYeepayApply(subForm)">Submit
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
Loading…
Reference in new issue