ss="lines-num lines-num-old"> 19
typedef void(^IPUNetSuccessBlock)(NSData *data, NSURLResponse *response);
40 20
41 21
/**
42 22
 *  commonPost失败回调block
43 23
 */
44
typedef void(^HylNetFailedBlock)(NSError *error,long status);
24
typedef void(^IPUNetFailedBlock)(NSError *error, long status);
45 25
46 26
@interface IpuFaceCheckSession : NSObject
47 27
@ -55,9 +35,18 @@ typedef void(^HylNetFailedBlock)(NSError *error,long status);
55 35
 @param isRegister 是否是注册:YES-注册人脸,NO-识别人脸
56 36
 @param callBack 调用接口的回调,(BOOL,NSDictionary)
57 37
 */
58
+ (void)ipuFaceCheckReceiveDataFromJS:(NSString *)host imgType:(int)imgType picInfo:(NSString *)picInfo appid:(NSString *)appid uid:(NSString *)uid isRegister:(BOOL)isRegister callBack:(IPUFaceCheckCallBack)callBack;
59
60
+(void)commonPost:(NSDictionary*)paramDic Url:(NSString*)urlPath success:(HylNetSuccessBlock)successBlock failed:(HylNetFailedBlock)failedBlock;
38
+ (void)ipuFaceCheckReceiveDataFromJS:(NSString *)host
39
                              imgType:(NSInteger)imgType
40
                              picInfo:(NSString *)picInfo
41
                                appid:(NSString *)appid
42
                                  uid:(NSString *)uid
43
                           isRegister:(BOOL)isRegister
44
                             callBack:(IPUFaceCheckCallBack)callBack;
45
46
+ (void)commonPost:(NSDictionary*)paramDic
47
               Url:(NSString*)urlPath
48
           success:(IPUNetSuccessBlock)successBlock
49
            failed:(IPUNetFailedBlock)failedBlock;
61 50
62 51
+ (NSString *)img2Base64:(UIImage *)img;
63 52
@end

+ 5 - 4
IPUFrameworks/IpuFaceCheck.framework/Headers/IpuFaceCheckViewController.h

@ -7,17 +7,18 @@
7 7
//
8 8
9 9
#import <Foundation/Foundation.h>
10
//@class IPUPlugin;
11 10
#import <UIKit/UIKit.h>
11
12 12
@protocol IpuFaceCheckViewControllerDelegate<NSObject>
13
13 14
- (void)backMsg:(NSDictionary *)callBackDic;
15
14 16
@end
15 17
16
@interface IpuFaceCheckViewController : UIViewController
17 18
18
@property (nonatomic , strong) NSArray *params;
19
@interface IpuFaceCheckViewController : UIViewController
19 20
20
//@property (nonatomic, strong)  IPUPlugin *plugin;
21
@property (nonatomic, strong) NSArray *params;
21 22
22 23
@property (nonatomic, assign)  BOOL isRegister; //是否是人脸注册注册
23 24

BIN
IPUFrameworks/IpuFaceCheck.framework/Info.plist


BIN
IPUFrameworks/IpuFaceCheck.framework/IpuFaceCheck


+ 7 - 7
IPUFrameworks/IpuFaceCheck.framework/_CodeSignature/CodeResources

@ -10,15 +10,15 @@
10 10
		</data>
11 11
		<key>Headers/IpuFaceCheckSession.h</key>
12 12
		<data>
13
		c3aOVpzeQSJgkrycUOVRPPRZqoY=
13
		2Hc9L8HdDXnWCsXfozTiDKWbQHo=
14 14
		</data>
15 15
		<key>Headers/IpuFaceCheckViewController.h</key>
16 16
		<data>
17
		3k9hZ14ZomQnvLxWOs9ZJrPRa4k=
17
		1KJyFXpA2jmk/uNzdHTmFeuVWiM=
18 18
		</data>
19 19
		<key>Info.plist</key>
20 20
		<data>
21
		bMYomJcWgUeUKf3zDLEu36fmLuc=
21
		Uey/ll8n7pigfqZm7S5VRn6uzNI=
22 22
		</data>
23 23
		<key>IpuFace.Bundle/people.png</key>
24 24
		<data>
@ -54,22 +54,22 @@
54 54
		<dict>
55 55
			<key>hash</key>
56 56
			<data>
57
			c3aOVpzeQSJgkrycUOVRPPRZqoY=
57
			2Hc9L8HdDXnWCsXfozTiDKWbQHo=
58 58
			</data>
59 59
			<key>hash2</key>
60 60
			<data>
61
			qt+BLAZcP2hCu/g2C0hFEgbamFUU6RbKurz4TXriLPY=
61
			J76RwJ+eh9t0jJxluJv9OMsO3KSZqQwWMev/tT/vwYs=
62 62
			</data>
63 63
		</dict>
64 64
		<key>Headers/IpuFaceCheckViewController.h</key>
65 65
		<dict>
66 66
			<key>hash</key>
67 67
			<data>
68
			3k9hZ14ZomQnvLxWOs9ZJrPRa4k=
68
			1KJyFXpA2jmk/uNzdHTmFeuVWiM=
69 69
			</data>
70 70
			<key>hash2</key>
71 71
			<data>
72
			+CiY3wcx7zuXzpHZBPT1+DQBMhS99phi4By4mFQf1RA=
72
			r/DwaOYhrUuXzYXsGG1qv3reKmCI1TD+kZm0trv7mXU=
73 73
			</data>
74 74
		</dict>
75 75
		<key>IpuFace.Bundle/people.png</key>

+ 2 - 2
display-center/Res/config/mobile-config.xml

@ -1,10 +1,10 @@
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<configs>
3 3
    <!--3.0稳定版生产环境-->
4
<!--    <config name="request_host" value="http://www.aiipu.com:8083"/>-->
4
    <config name="request_host" value="http://www.aiipu.com:8083"/>
5 5
    <!--master标准版测试环境-->
6 6
<!--    <config name="request_host" value="http://10.13.13.36:8089"/>-->
7
    <config name="request_host" value="http://121.42.183.206:8081"/>
7
<!--    <config name="request_host" value="http://121.42.183.206:8081"/>-->
8 8
9 9
    <config name="request_path" value="/show"/>
10 10
    <config name="request_servlet" value="/mobiledata"/>

+ 0 - 6
display-center/display-center.xcworkspace/contents.xcworkspacedata

@ -2,12 +2,6 @@
2 2
<Workspace
3 3
   version = "1.0">
4 4
   <FileRef
5
      location = "group:../../iOS/IPUFoundation/IPUFoundation.xcodeproj">
6
   </FileRef>
7
   <FileRef
8
      location = "group:../../iOS/IPUMobile/IPUMobile.xcodeproj">
9
   </FileRef>
10
   <FileRef
11 5
      location = "group:display-center.xcodeproj">
12 6
   </FileRef>
13 7
</Workspace>

BIN
display-center/display-center.xcworkspace/xcuserdata/benny.xcuserdatad/UserInterfaceState.xcuserstate


+ 15 - 0
display-center/display-center.xcworkspace/xcuserdata/benny.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@ -204,6 +204,21 @@
204 204
                  endingLineNumber = "111"
205 205
                  offsetFromSymbolStart = "540">
206 206
               </Location>
207
               <Location
208
                  uuid = "FEF68F5F-95C5-4BC0-AB80-B7A704BFDF37 - 4f39955c4233c17a"
209
                  shouldBeEnabled = "Yes"
210
                  ignoreCount = "0"
211
                  continueAfterRunningActions = "No"
212
                  symbolName = "+[IPUTemplateManager copyResources]"
213
                  moduleName = "IPUMobile"
214
                  usesParentBreakpointCondition = "Yes"
215
                  urlString = "file:///Users/benny/iOS/IPUMobile/IPUMobile/Frame/Template/IPUTemplateManager.m"
216
                  startingColumnNumber = "9223372036854775807"
217
                  endingColumnNumber = "9223372036854775807"
218
                  startingLineNumber = "113"
219
                  endingLineNumber = "113"
220
                  offsetFromSymbolStart = "48">
221
               </Location>
207 222
            </Locations>
208 223
         </BreakpointContent>
209 224
      </BreakpointProxy>

+ 3 - 6
display-center/display-center/IPUIFlyVoiceRecognition.m

@ -95,12 +95,9 @@
95 95
#pragma mark - IFlySpeechRecognizerDelegate
96 96
97 97
- (void)onCompleted:(IFlySpeechError *)errorCode {
98
    IPULogDebug(@":::::::::::::::::");
99
    IPULogDebug(@"%s", __func__);
100
    IPULogDebug(@"%d", errorCode.errorCode);
101
    IPULogDebug(@"%d", errorCode.errorType);
102
    IPULogDebug(@"%@", errorCode.errorDesc);
103
    IPULogDebug(@":::::::::::::::::");
98
    IPULogDebug(@"讯飞语音识别错误码:%d", errorCode.errorCode);
99
    IPULogDebug(@"讯飞语音识别错误码类型:%d", errorCode.errorType);
100
    IPULogDebug(@"讯飞语音识别错误码描述:%@", errorCode.errorDesc);
104 101
}
105 102
106 103
- (void)onResults:(NSArray *)results isLast:(BOOL)isLast {

common-ui - Nuosi Git Service

AIoT前端公共UI

index.ts 2.8KB

    /* * @Author: Devin * @Date: 2023-01-11 16:52:24 * @LastEditors: Devin * @LastEditTime: 2023-02-22 10:21:27 * @Description:公共组件全局注册 */ // 公共框架 import CommonLayer from '../packages/layer/CommonLayer.vue'; // 公共布局:search + btns + table + pagenation import CommonPagePanel from '../packages/page-panel/PagePanel.vue'; // 公共面板 import CommonPanel from '../packages/panel/Panel.vue'; // 公共搜索 import CommonSearch from '../packages/search/Search.vue'; // 公共表格 import CommonTable from '../packages/table/CommonTable.vue'; import CommonPage from '../packages/table/CommonPage.vue'; // 公共表单 import CommonForm from '../packages/form/Form.vue'; import CommonCheckGroup from '../packages/form/CheckGroup.vue'; import CommonDownload from '../packages/form/Download.vue'; import CommonUpload from '../packages/form/Upload.vue'; import CommonSelect from '../packages/form/Select.vue'; import CommonRadioGroup from '../packages/form/RadioGroup.vue'; // 公共tree import CommonTree from '../packages/tree/Tree.vue'; import CommonIcon from '../packages/icon/SvgIcon.vue'; import CommonCardGroup from '../packages/card/CardGroup.vue'; import CommonCard from '../packages/card/Card.vue'; import CommonDialog from '../packages/dialog/Dialog.vue'; import CommonDrawer from '../packages/drawer/Drawer.vue'; import CommonBread from '../packages/bread-crumb/Bread.vue'; import CommonTabs from '../packages/tabs/CommonTabs.vue'; import CommonX6Flow from '../packages/flow/Index.vue'; // 描述 import CommonInfo from '../packages/info/CommonInfo.vue'; // 复杂表单 import CommonComplexForm from '../packages/complex-form/CommonComplexForm.vue'; export function setupGlobalComponents(app: any) { app.component('CommonLayer', CommonLayer); app.component('CommonPagePanel', CommonPagePanel); app.component('CommonPanel', CommonPanel); app.component('CommonSearch', CommonSearch); app.component('CommonTable', CommonTable); app.component('CommonPagenation', CommonPage); app.component('CommonForm', CommonForm); app.component('CommonCheckGroup', CommonCheckGroup); app.component('CommonDownload', CommonDownload); app.component('CommonUpload', CommonUpload); app.component('CommonSelect', CommonSelect); app.component('CommonTree', CommonTree); app.component('CommonIcon', CommonIcon); app.component('CommonCardGroup', CommonCardGroup); app.component('CommonCard', CommonCard); app.component('CommonDialog', CommonDialog); app.component('CommonDrawer', CommonDrawer); app.component('CommonBread', CommonBread); app.component('CommonTabs', CommonTabs); app.component('CommonInfo', CommonInfo); app.component('CommonComplexForm', CommonComplexForm); app.component('CommonRadioGroup', CommonRadioGroup); app.component('CommonX6Flow', CommonX6Flow); }