Browse Source

人脸云打包

master
unknown 4 months ago
parent
commit
6250aa76a6
  1. 2
      config/request.js
  2. 2
      config/site.config.js
  3. 50
      manifest.json
  4. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/back.png
  5. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/close.png
  6. 40
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/en.strings
  7. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_card.png
  8. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_finger.png
  9. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_image6.png
  10. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_image7.png
  11. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_image8.png
  12. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_nfc_backgrond.png
  13. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_passport.png
  14. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/youjiantoucu.png
  15. 41
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/zh-Hans.strings
  16. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/.DS_Store
  17. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/DTFNFCIdentityManager
  18. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/DTFNFCIdentityManager-Info.plist
  19. 25
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/Headers/NFCDatePickerView.h
  20. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/Info.plist
  21. BIN
      nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/en.lproj/InfoPlist.strings
  22. 1
      nativePlugins/AP-FaceDetectModule/package.json
  23. 2
      pages/indexEntry/enroll/enroll.vue
  24. 9
      pages/indexEntry/enroll/payment/payh5.vue
  25. 5
      pages/indexEntry/enroll/payment/payment.vue
  26. 2
      pages/indexEntry/signIn/signAndOut/signAndOut.vue
  27. 6
      pages/tabbar/mine/index.vue
  28. 3
      pages/userCenter/login/login.vue
  29. BIN
      static/images/logo.png

2
config/request.js

@ -59,7 +59,7 @@ module.exports = (vm) => {
if(data.code==401) { if(data.code==401) {
console.log('报401的接口') console.log('报401的接口')
console.log(response.config.url) console.log(response.config.url)
return vm.$store.commit('goLogin')
return uni.$u.debounce(vm.$store.commit('goLogin'), 800)
} }
// 自定义参数 // 自定义参数

2
config/site.config.js

@ -2,7 +2,7 @@ const VUE_APP_PLATFORM = process.env.VUE_APP_PLATFORM;
// localIp = false // localIp = false
module.exports = { module.exports = {
H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理 H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理
WX_API: VUE_APP_PLATFORM === 'h5' ? '/' : 'http://192.168.1.43:8318/',//非代理地址 不要忘记加/
WX_API: VUE_APP_PLATFORM === 'h5' ? '/' : 'http://123.6.232.54:8099/',//非代理地址 不要忘记加/
// WX_API: VUE_APP_PLATFORM === 'h5' ? '/' : 'http://work.lyjppt.com:8099/',// http://192.168.1.43:8318/ http://123.6.232.1:8099//非代理地址 // WX_API: VUE_APP_PLATFORM === 'h5' ? '/' : 'http://work.lyjppt.com:8099/',// http://192.168.1.43:8318/ http://123.6.232.1:8099//非代理地址
website: 'http://192.168.1.37', website: 'http://192.168.1.37',
httpPrefix: 'app-api/', httpPrefix: 'app-api/',

50
manifest.json

@ -115,6 +115,38 @@
}, },
"splashscreen" : { "splashscreen" : {
"useOriginalMsgbox" : true "useOriginalMsgbox" : true
},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
} }
}, },
"nativePlugins" : { "nativePlugins" : {
@ -139,17 +171,17 @@
} }
} }
}, },
"AP-FaceDetectModule" : {
"Ocr-FaceDetectModule" : {
"__plugin_info__" : { "__plugin_info__" : {
"name" : "APFaceDetectPlugin",
"description" : "阿里云金融级实人认证SDK",
"name" : "Ocr-FaceDetectModule",
"description" : "阿里云金融级实名认证,包括实人认证,活体人脸认证。",
"platforms" : "Android,iOS", "platforms" : "Android,iOS",
"url" : "",
"android_package_name" : "",
"ios_bundle_id" : "",
"isCloud" : false,
"bought" : -1,
"pid" : "",
"url" : "https://ext.dcloud.net.cn/plugin?id=16895",
"android_package_name" : "com.junan.luoyangxueche",
"ios_bundle_id" : "com.junan.luoyangxueche",
"isCloud" : true,
"bought" : 1,
"pid" : "16895",
"parameters" : {} "parameters" : {}
} }
} }

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/back.png

Before

Width: 32  |  Height: 32  |  Size: 263 B

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/close.png

Before

Width: 32  |  Height: 32  |  Size: 373 B

40
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/en.strings

@ -1,40 +0,0 @@
/*
Localizable.strings
AliyunIdentityFace
Created by Lingxuan on 2022/12/1.
Copyright © 2022 aliyun.com. All rights reserved.
*/
// nfc提示文案
"kNeed" = "Time left: ";
"kDontMove" = "seconds. Do not remove your device.";
"kNFCIdentification" = "NFC Verification";
"kIDNumber" = "ID Number";
"kEnterIDNumber" = "Enter a 9-digit ID number";
"kDateOfBirth" = "Date of Birth";
"kPeriodOfValidity" = "Validity Period";
"kPleaseSelect" = "Select";
"kNextStep" = "Next";
"kCancelTitle" = "Cancel";
"kOKTitle" = "OK";
"kStart" = "Please prepare your documents and click to start reading";
"kStartReading" = "Start Reading";
"kReadException" = "An error occurred. Try again.";
"kNetworkAnomaly" = "Check the network connection and try again.";
"kReadError" = "An error occurred.";
"kCardReadingFailure" = "Do not move the document during reading. Position the document in the NFC area and try again.";
"kThreeElementErrors" = "The specified parameters of your document are invalid. Change the values.";
"kCardError" = "An error occurred. Use a valid document.";
"kDeviceNotSupported" = "An error occurred. The current device does not support this feature.";
"kNFCTurnedOff" = "NFC is disabled.";
"kSuccessfullyRead" = "Successful";
"kCardReading" = "The document is being read. Do not move the document.";
"kPutIDCardInPosition" = "Position your document";
"kPutIDCardInPositionMove" = "Position your document and wait for ";
"kIDCardReadFailedRetry" = "Failed to read the document. Try again.";
"kIDCardReadFailed" = "Failed to read the document.";
"kExpirationMustGreaterBirthdate" = "The valid expiry date of the certificate must be greater than the date of birth.";
"kPrompt" = "Prompt";
"kReadyToScan" = "Ready to scan";

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_card.png

Before

Width: 260  |  Height: 138  |  Size: 3.6 KiB

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_finger.png

Before

Width: 60  |  Height: 60  |  Size: 542 B

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_image6.png

Before

Width: 375  |  Height: 669  |  Size: 783 B

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_image7.png

Before

Width: 375  |  Height: 669  |  Size: 966 B

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_image8.png

Before

Width: 375  |  Height: 669  |  Size: 1.1 KiB

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_nfc_backgrond.png

Before

Width: 132  |  Height: 132  |  Size: 1.7 KiB

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/icon_passport.png

Before

Width: 260  |  Height: 160  |  Size: 2.5 KiB

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/youjiantoucu.png

Before

Width: 32  |  Height: 32  |  Size: 317 B

41
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.bundle/zh-Hans.strings

@ -1,41 +0,0 @@
/*
Localizable.strings
AliyunIdentityFace
Created by Lingxuan on 2022/12/1.
Copyright © 2022 aliyun.com. All rights reserved.
*/
// nfc提示文案
"kNeed" = "还需";
"kDontMove" = "秒,请勿移动";
"kNFCIdentification" = "NFC识别";
"kIDNumber" = "证件号码";
"kEnterIDNumber" = "请输入9位证件号码";
"kDateOfBirth" = "出生日期";
"kPeriodOfValidity" = "有效期";
"kPleaseSelect" = "请选择";
"kNextStep" = "下一步";
"kCancelTitle" = "取消";
"kOKTitle" = "确定";
"kStart" = "请准备好证件,点击开始读卡";
"kStartReading" = "开始读取";
"kReadException" = "读取异常,请重试";
"kNetworkAnomaly" = "请检查网络,重新读卡";
"kReadError" = "读取错误";
"kCardReadingFailure" = "读取时请勿移动证件,请将证件对准NFC区域,重新读卡";
"kThreeElementErrors" = "证件要素输入不正确,请重新输入";
"kCardError" = "读取异常,请使用正确的证件";
"kDeviceNotSupported" = "读取异常,当前设备不支持此功能";
"kNFCTurnedOff" = "NFC已关闭";
"kSuccessfullyRead" = "读取成功";
"kCardReading" = "证件读取中,请勿移动";
"kPutIDCardInPosition" = "请将证件放到图示位置";
"kPutIDCardInPositionMove" = "请将证件放到图示位置,静置";
"kIDCardReadFailedRetry" = "读取证件失败,请重试";
"kIDCardReadFailed" = "读取证件失败";
"kExpirationMustGreaterBirthdate" = "证件有效截止日期必须大于出生日期。";
"kPrompt" = "提示";
"kReadyToScan" = "已准备好扫描";

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/.DS_Store

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/DTFNFCIdentityManager

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/DTFNFCIdentityManager-Info.plist

25
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/Headers/NFCDatePickerView.h

@ -1,25 +0,0 @@
//
// NFCDatePickerView.h
// ZimDemo
//
// Created by on 2023/6/7.
// Copyright © 2023 com.alipay. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NFCDatePickerView : UIView
@property (nonatomic, copy) void (^onConfirm)(NSDate *);
@property (nonatomic, copy) NSString *maxDate;
- (void)showWithSelectedDate:(NSDate *)selectedDate onConfirm:(void (^)(NSDate *date))onConfirm;
- (void)dismiss;
@end
NS_ASSUME_NONNULL_END

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/Info.plist

BIN
nativePlugins/AP-FaceDetectModule/ios/DTFNFCIdentityManager.framework/en.lproj/InfoPlist.strings

1
nativePlugins/AP-FaceDetectModule/package.json

@ -90,7 +90,6 @@
"APBToygerFacade.bundle", "APBToygerFacade.bundle",
"APBToygerFacadeSuitable.bundle", "APBToygerFacadeSuitable.bundle",
"BioAuthEngine.bundle", "BioAuthEngine.bundle",
"DTFNFCIdentityManager.bundle",
"MultiFactorFacade.bundle", "MultiFactorFacade.bundle",
"OCRXMedia.bundle", "OCRXMedia.bundle",
"ToygerService.bundle" "ToygerService.bundle"

2
pages/indexEntry/enroll/enroll.vue

@ -188,7 +188,7 @@
// this.$goPage('/pages/indexEntry/enroll/uploadAvatar/uploadAvatar') // this.$goPage('/pages/indexEntry/enroll/uploadAvatar/uploadAvatar')
}, },
async getInitFaceVerifyFn() { async getInitFaceVerifyFn() {
const verifyPlugin = uni.requireNativePlugin('AP-FaceDetectModule');
const verifyPlugin = uni.requireNativePlugin('Ocr-FaceDetectModule');
var metaInfo = verifyPlugin.getMetaInfo() var metaInfo = verifyPlugin.getMetaInfo()
let p = uni.getSystemInfoSync().platform; let p = uni.getSystemInfoSync().platform;
if (p === "ios") { if (p === "ios") {

9
pages/indexEntry/enroll/payment/payh5.vue

@ -1,6 +1,6 @@
<template> <template>
<view class=""> <view class="">
<web-view :src="$store.state.webViewUrl" @onPostMessage="postMessage" @message="postMessage"></web-view>
<web-view :src="$store.state.webViewUrl" @onPostMessage="postMessage" @message="postMessage" :webview-styles="webviewStyles"></web-view>
<!-- <web-view src="http://192.168.1.44:92/vue/wxStudentCertificate3" @onPostMessage="postMessage" @message="postMessage"></web-view> --> <!-- <web-view src="http://192.168.1.44:92/vue/wxStudentCertificate3" @onPostMessage="postMessage" @message="postMessage"></web-view> -->
</view> </view>
</template> </template>
@ -12,7 +12,12 @@
export default { export default {
data() { data() {
return { return {
iswxPay: false
iswxPay: false,
webviewStyles: {
progress: {
color: '#3877ff'
},
},
} }
}, },
onLoad(options) { onLoad(options) {

5
pages/indexEntry/enroll/payment/payment.vue

@ -83,12 +83,15 @@
}, },
// 1 // 1
async getStudentByPayment(type) { async getStudentByPayment(type) {
console.log('来到了这没有')
uni.showLoading({
title: '正在加载...'
})
const { const {
data: res data: res
} = await pre_create({ } = await pre_create({
trainingApplyId: this.trainingApplyId trainingApplyId: this.trainingApplyId
}) })
uni.hideLoading()
console.log('创建的订单信息') console.log('创建的订单信息')
console.log(res) console.log(res)
this.param_sign(res.orderNo) this.param_sign(res.orderNo)

2
pages/indexEntry/signIn/signAndOut/signAndOut.vue

@ -141,7 +141,7 @@
}, },
// //
async getInitFaceVerifyFn() { async getInitFaceVerifyFn() {
const verifyPlugin = uni.requireNativePlugin('AP-FaceDetectModule');
const verifyPlugin = uni.requireNativePlugin('Ocr-FaceDetectModule');
var metaInfo = verifyPlugin.getMetaInfo() var metaInfo = verifyPlugin.getMetaInfo()
if(typeof metaInfo =='object' ) { if(typeof metaInfo =='object' ) {
metaInfo = JSON.stringify(metaInfo) metaInfo = JSON.stringify(metaInfo)

6
pages/tabbar/mine/index.vue

@ -73,8 +73,9 @@
// {name: '退', icon: require('@/static/images/mineIcon/minIcon (3).png'),url: '/pages/mineEntry/refund/refund'}, // {name: '退', icon: require('@/static/images/mineIcon/minIcon (3).png'),url: '/pages/mineEntry/refund/refund'},
// {name: '', icon: require('@/static/images/mineIcon/minIcon (7).png'),url: '/pages/mineEntry/modelChange/modelChange'}, // {name: '', icon: require('@/static/images/mineIcon/minIcon (7).png'),url: '/pages/mineEntry/modelChange/modelChange'},
// {name: '', icon: require('@/static/images/mineIcon/minIcon (5).png'),url: '/pages/mineEntry/schoolTransfer/schoolTransfer'}, // {name: '', icon: require('@/static/images/mineIcon/minIcon (5).png'),url: '/pages/mineEntry/schoolTransfer/schoolTransfer'},
{name: '隐私政策', icon: require('@/static/images/mineIcon/minIcon (6).png'),url: ''},
{name: '关于我们', icon: require('@/static/images/mineIcon/minIcon (2).png'),url: '/pages/mineEntry/aboutUs/aboutUs'}, {name: '关于我们', icon: require('@/static/images/mineIcon/minIcon (2).png'),url: '/pages/mineEntry/aboutUs/aboutUs'},
{name: '用户协议', icon: require('@/static/images/mineIcon/minIcon (4).png'),url: '/pages/userCenter/login/privacyAgreement/privacyAgreement?type=2'},
{name: '隐私政策', icon: require('@/static/images/mineIcon/minIcon (6).png'),url: '/pages/userCenter/login/privacyAgreement/privacyAgreement?type=1'},
] ]
} }
}, },
@ -91,7 +92,8 @@
} }
}, },
goPage(item) { goPage(item) {
if(item.name!='关于我们') {
let whileUrl = ['关于我们', '用户协议', '隐私政策']
if(!whileUrl.includes(item.name)) {
// return this.$goPage('/pages/mineEntry/myForecastName/myForecastName') // return this.$goPage('/pages/mineEntry/myForecastName/myForecastName')
// console.log(this.vuex_userInfo.applyStep) // console.log(this.vuex_userInfo.applyStep)
console.log(this.vuex_userInfo.applyStep) console.log(this.vuex_userInfo.applyStep)

3
pages/userCenter/login/login.vue

@ -196,12 +196,13 @@
.inputBox { .inputBox {
flex: 1; flex: 1;
padding: 10rpx 0;
input { input {
display: block; display: block;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block; display: block;
line-height: 112rpx;
// line-height: 112rpx;
font-size: 30rpx; font-size: 30rpx;
} }
} }

BIN
static/images/logo.png

After

Width: 1280  |  Height: 1281  |  Size: 182 KiB

Loading…
Cancel
Save