Commit 5fbded9f authored by xiejb's avatar xiejb

生产1.9

parent 3359fcef
...@@ -363,6 +363,7 @@ ...@@ -363,6 +363,7 @@
B543F5FF247CB93700DFCE8C /* UpcomingViewController+ClassAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = B543F5FE247CB93700DFCE8C /* UpcomingViewController+ClassAction.swift */; }; B543F5FF247CB93700DFCE8C /* UpcomingViewController+ClassAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = B543F5FE247CB93700DFCE8C /* UpcomingViewController+ClassAction.swift */; };
B546D9732477792B004A6F1C /* CustomerServiceRootVC+segmentdPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B546D9722477792B004A6F1C /* CustomerServiceRootVC+segmentdPage.swift */; }; B546D9732477792B004A6F1C /* CustomerServiceRootVC+segmentdPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B546D9722477792B004A6F1C /* CustomerServiceRootVC+segmentdPage.swift */; };
B5519442258B6D650095FE89 /* WebSwiftTwoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5519441258B6D650095FE89 /* WebSwiftTwoViewController.swift */; }; B5519442258B6D650095FE89 /* WebSwiftTwoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5519441258B6D650095FE89 /* WebSwiftTwoViewController.swift */; };
B55479CC28757AD800493DD8 /* QRCodeSwiftOldView.m in Sources */ = {isa = PBXBuildFile; fileRef = B55479CB28757AD800493DD8 /* QRCodeSwiftOldView.m */; };
B5554ED62440030A0025F0F4 /* DialogueViewController+http.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5554ED52440030A0025F0F4 /* DialogueViewController+http.swift */; }; B5554ED62440030A0025F0F4 /* DialogueViewController+http.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5554ED52440030A0025F0F4 /* DialogueViewController+http.swift */; };
B5554EDC244003930025F0F4 /* DialogueHttpPostCmd.m in Sources */ = {isa = PBXBuildFile; fileRef = B5554EDB244003930025F0F4 /* DialogueHttpPostCmd.m */; }; B5554EDC244003930025F0F4 /* DialogueHttpPostCmd.m in Sources */ = {isa = PBXBuildFile; fileRef = B5554EDB244003930025F0F4 /* DialogueHttpPostCmd.m */; };
B5554EDF244004F80025F0F4 /* DialogueHttpPostCmd+Response.m in Sources */ = {isa = PBXBuildFile; fileRef = B5554EDE244004F80025F0F4 /* DialogueHttpPostCmd+Response.m */; }; B5554EDF244004F80025F0F4 /* DialogueHttpPostCmd+Response.m in Sources */ = {isa = PBXBuildFile; fileRef = B5554EDE244004F80025F0F4 /* DialogueHttpPostCmd+Response.m */; };
...@@ -1218,6 +1219,8 @@ ...@@ -1218,6 +1219,8 @@
B543F5FE247CB93700DFCE8C /* UpcomingViewController+ClassAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UpcomingViewController+ClassAction.swift"; sourceTree = "<group>"; wrapsLines = 1; }; B543F5FE247CB93700DFCE8C /* UpcomingViewController+ClassAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UpcomingViewController+ClassAction.swift"; sourceTree = "<group>"; wrapsLines = 1; };
B546D9722477792B004A6F1C /* CustomerServiceRootVC+segmentdPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CustomerServiceRootVC+segmentdPage.swift"; sourceTree = "<group>"; wrapsLines = 1; }; B546D9722477792B004A6F1C /* CustomerServiceRootVC+segmentdPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CustomerServiceRootVC+segmentdPage.swift"; sourceTree = "<group>"; wrapsLines = 1; };
B5519441258B6D650095FE89 /* WebSwiftTwoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebSwiftTwoViewController.swift; sourceTree = "<group>"; wrapsLines = 1; }; B5519441258B6D650095FE89 /* WebSwiftTwoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebSwiftTwoViewController.swift; sourceTree = "<group>"; wrapsLines = 1; };
B55479CA28757AD800493DD8 /* QRCodeSwiftOldView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QRCodeSwiftOldView.h; sourceTree = "<group>"; };
B55479CB28757AD800493DD8 /* QRCodeSwiftOldView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QRCodeSwiftOldView.m; sourceTree = "<group>"; };
B5554ED52440030A0025F0F4 /* DialogueViewController+http.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DialogueViewController+http.swift"; sourceTree = "<group>"; wrapsLines = 1; }; B5554ED52440030A0025F0F4 /* DialogueViewController+http.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DialogueViewController+http.swift"; sourceTree = "<group>"; wrapsLines = 1; };
B5554EDA244003930025F0F4 /* DialogueHttpPostCmd.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DialogueHttpPostCmd.h; sourceTree = "<group>"; }; B5554EDA244003930025F0F4 /* DialogueHttpPostCmd.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DialogueHttpPostCmd.h; sourceTree = "<group>"; };
B5554EDB244003930025F0F4 /* DialogueHttpPostCmd.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DialogueHttpPostCmd.m; sourceTree = "<group>"; }; B5554EDB244003930025F0F4 /* DialogueHttpPostCmd.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DialogueHttpPostCmd.m; sourceTree = "<group>"; };
...@@ -1751,6 +1754,8 @@ ...@@ -1751,6 +1754,8 @@
B59C319226CA10440059B911 /* QRCodeCallBackViewController.swift */, B59C319226CA10440059B911 /* QRCodeCallBackViewController.swift */,
17457FFA231F6AD2008976CC /* QRCodeSwiftView.h */, 17457FFA231F6AD2008976CC /* QRCodeSwiftView.h */,
17457FFB231F6AD2008976CC /* QRCodeSwiftView.m */, 17457FFB231F6AD2008976CC /* QRCodeSwiftView.m */,
B55479CA28757AD800493DD8 /* QRCodeSwiftOldView.h */,
B55479CB28757AD800493DD8 /* QRCodeSwiftOldView.m */,
); );
path = QRCode; path = QRCode;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -4595,6 +4600,7 @@ ...@@ -4595,6 +4600,7 @@
1787F757231F58230087B20E /* SNHttpBasePutCmd.m in Sources */, 1787F757231F58230087B20E /* SNHttpBasePutCmd.m in Sources */,
B5680EAC2466523B0017FF6C /* WeChatBindingHttpPostCmd.m in Sources */, B5680EAC2466523B0017FF6C /* WeChatBindingHttpPostCmd.m in Sources */,
17457FF7231F6A80008976CC /* ChangePassWordViewController+http.swift in Sources */, 17457FF7231F6A80008976CC /* ChangePassWordViewController+http.swift in Sources */,
B55479CC28757AD800493DD8 /* QRCodeSwiftOldView.m in Sources */,
B50F825225C3D7950043E24D /* DeactivateEnableHttpPostCmd.m in Sources */, B50F825225C3D7950043E24D /* DeactivateEnableHttpPostCmd.m in Sources */,
B5731304243DBBCD003B07FC /* RecommendTableViewCell.swift in Sources */, B5731304243DBBCD003B07FC /* RecommendTableViewCell.swift in Sources */,
1787F7A3231F5AA70087B20E /* BaseEnumFunc.swift in Sources */, 1787F7A3231F5AA70087B20E /* BaseEnumFunc.swift in Sources */,
......
...@@ -46,7 +46,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate,WXApiDelegate { ...@@ -46,7 +46,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate,WXApiDelegate {
AccountInfo.sharedInstance().messageId = "" AccountInfo.sharedInstance().messageId = ""
AccountInfo.sharedInstance().UMS_messageType = "" AccountInfo.sharedInstance().UMS_messageType = ""
// AccountInfo.sharedInstance().UMS_messageDetaUrl = "https://employeedev.shaphar.com/mobile-portal/messagedetail/1174" // AccountInfo.sharedInstance().UMS_messageDetaUrl = "https://employeedev.shaphar.com/mobile-portal/messagedetail/1174"
// AccountInfo.sharedInstance().UserId = "199476" AccountInfo.sharedInstance().UserId = "164629"
// 网络框架 // 网络框架
ProjectConfigGroup.initHttpConfig() ProjectConfigGroup.initHttpConfig()
HTHttpConfig.sharedInstance().isout = false HTHttpConfig.sharedInstance().isout = false
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>上药移动测试</string> <string>上药移动ce</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
#import "AppIdentUUID.h" #import "AppIdentUUID.h"
#import "QRCodeSwiftView.h" #import "QRCodeSwiftView.h"
#import "QRCodeSwiftOldView.h"
#import "HTHttpConfig.h" #import "HTHttpConfig.h"
#import "ProjectConfigGroup.h" #import "ProjectConfigGroup.h"
......
...@@ -14,9 +14,9 @@ class QRCodeCallBackViewController: BaseViewController,QRCodeSwiftViewDelegate { ...@@ -14,9 +14,9 @@ class QRCodeCallBackViewController: BaseViewController,QRCodeSwiftViewDelegate {
var isHomePushType:IsHomePushType = .YesIsHomePushType var isHomePushType:IsHomePushType = .YesIsHomePushType
var callBackBlock:passParameterBlock! var callBackBlock:passParameterBlock!
lazy var qRCodeSwiftView: QRCodeSwiftView = { lazy var qRCodeSwiftView: QRCodeSwiftOldView = {
//let h = UIApplication.shared.statusBarFrame.size.height+(self.navigationController?.navigationBar.frame.size.height)! //let h = UIApplication.shared.statusBarFrame.size.height+(self.navigationController?.navigationBar.frame.size.height)!
let qRCodeSwiftView = QRCodeSwiftView.init(frame: CGRect(x:0, y: 0, width:SCREEN_WHIDTH() , height:SCREEN_HEIGHT() )) let qRCodeSwiftView = QRCodeSwiftOldView.init(frame: CGRect(x:0, y: 0, width:SCREEN_WHIDTH() , height:SCREEN_HEIGHT() ))
qRCodeSwiftView.delegate = self qRCodeSwiftView.delegate = self
return qRCodeSwiftView return qRCodeSwiftView
}() }()
...@@ -47,7 +47,7 @@ class QRCodeCallBackViewController: BaseViewController,QRCodeSwiftViewDelegate { ...@@ -47,7 +47,7 @@ class QRCodeCallBackViewController: BaseViewController,QRCodeSwiftViewDelegate {
} }
override func arrowResponse() { override func arrowResponse() {
self.callBackBlock("") self.callBackBlock("")
// self.qRCodeSwiftView. // self.qRCodeSwiftView.stopRunning()
self.navigationController?.popViewController(animated: true) self.navigationController?.popViewController(animated: true)
} }
override func gotoMessageVC(){ override func gotoMessageVC(){
......
//
// QRCodeSwiftOldView.h
// MobilePortal
//
// Created by caiyang on 2022/7/6.
// Copyright © 2022 yin chen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "QRCodeSwiftView.h"
NS_ASSUME_NONNULL_BEGIN
@interface QRCodeSwiftOldView : UIView
-(void)initView;
//-(void)dropOutVC;
-(void)getQRCodeSwiftViewValue:(NSString *)value;
@property(nonatomic,weak)id<QRCodeSwiftViewDelegate>delegate;
@end
NS_ASSUME_NONNULL_END
//
// QRCodeSwiftOldView.m
// MobilePortal
//
// Created by caiyang on 2022/7/6.
// Copyright © 2022 yin chen. All rights reserved.
//
#define TOP (SCREEN_HEIGHT-320)/2
#define LEFT (SCREEN_WHIDTH-320)/2
#define kScanRect CGRectMake(LEFT, TOP, 320, 320)
#import "QRCodeSwiftView.h"
#import <AVFoundation/AVFoundation.h>
#import <AVFoundation/AVCaptureDevice.h>
#import <AVFoundation/AVMediaFormat.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import <CoreLocation/CoreLocation.h>
#import "UIView+Additions.h"
#import "QRCodeSwiftOldView.h"
@interface QRCodeSwiftOldView ()<AVCaptureMetadataOutputObjectsDelegate>{
int num;
BOOL upOrdown;
NSTimer * timer;
CAShapeLayer *cropLayer;
}
@property (strong,nonatomic)AVCaptureDevice * device;
@property (strong,nonatomic)AVCaptureDeviceInput * input;
@property (strong,nonatomic)AVCaptureMetadataOutput * output;
@property (strong,nonatomic)AVCaptureSession * session;
@property (strong,nonatomic)AVCaptureVideoPreviewLayer * preview;
@property (nonatomic, strong) UIImageView * line;
@end
@implementation QRCodeSwiftOldView
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
[self initView];
}
return self;
}
-(void)initView{
[self configView];
[self setCropRect:kScanRect];
//相机权限
AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
if (authStatus ==AVAuthorizationStatusDenied) //用户已经明确否认了这一照片数据的应用程序访问
{
UIAlertController * noticeAlertController = [UIAlertController alertControllerWithTitle:@"请查看“设置->隐私->相机”的权限设置" message:nil preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction * cancelAction = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
[self.delegate dropOutVC];
}];
UIAlertAction * okAction = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
//跳转到设置界面
if (@available(iOS 10.0, *)) {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] options:@{} completionHandler:^(BOOL success) {
}];
} else {
// Fallback on earlier versions
}
}];
[noticeAlertController addAction:cancelAction];
[noticeAlertController addAction:okAction];
[[self getCurrentVC] presentViewController:noticeAlertController animated:YES completion:nil];
return;
}else{
[self setupCamera];
}
}
-(void)configView{
UIImageView * imageView = [[UIImageView alloc]initWithFrame:kScanRect];
imageView.image = [UIImage imageNamed:@"pick_bg"];
[self addSubview:imageView];
num =0;
_line = [[UIImageView alloc] initWithFrame:CGRectMake(LEFT, TOP+10, 320, 2)];
_line.image = [UIImage imageNamed:@"line.png"];
[self addSubview:_line];
timer = [NSTimer scheduledTimerWithTimeInterval:.02 target:self selector:@selector(animation1) userInfo:nil repeats:YES];
UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0, imageView.originY-40*HEIGHT_RATIO, SCREEN_WHIDTH, 15*HEIGHT_RATIO)];
label.backgroundColor = [UIColor clearColor];
label.text = @"请对准条码到框内即可扫描";
label.textAlignment = NSTextAlignmentCenter;
label.textColor = [UIColor whiteColor];
label.font = [UIFont systemFontOfSize:15.0];
[self addSubview:label];
}
-(void)animation1
{
if (upOrdown == NO) {
num ++;
_line.frame = CGRectMake(LEFT, TOP+10+2*num, 320, 2);
if (2*num == 300) {
upOrdown = YES;
}
}else {
num --;
_line.frame = CGRectMake(LEFT, TOP+10+2*num, 320, 2);
if (num == 0) {
upOrdown = NO;
}
}
}
- (void)setCropRect:(CGRect)cropRect{
cropLayer = [[CAShapeLayer alloc] init];
CGMutablePathRef path = CGPathCreateMutable();
CGPathAddRect(path, nil, cropRect);
CGPathAddRect(path, nil, self.bounds);
[cropLayer setFillRule:kCAFillRuleEvenOdd];
[cropLayer setPath:path];
[cropLayer setFillColor:[UIColor blackColor].CGColor];
[cropLayer setOpacity:0.6];
[cropLayer setNeedsDisplay];
NSLog(@"1");
[self.layer addSublayer:cropLayer];
}
- (void)setupCamera
{
AVCaptureDevice *device = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo];
if (device==nil) {
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"提示" message:@"设备没有摄像头" preferredStyle:UIAlertControllerStyleAlert];
[alert addAction:[UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
[self.delegate dropOutVC];
}]];
[[self getCurrentVC] presentViewController:alert animated:YES completion:nil];
return;
}
// Device
_device = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo];
// Input
_input = [AVCaptureDeviceInput deviceInputWithDevice:self.device error:nil];
// Output
_output = [[AVCaptureMetadataOutput alloc]init];
[_output setMetadataObjectsDelegate:self queue:dispatch_get_main_queue()];
//设置扫描区域
CGFloat top = TOP/SCREEN_HEIGHT;
CGFloat left = LEFT/SCREEN_WHIDTH;
CGFloat width = 320/SCREEN_WHIDTH;
CGFloat height = 320/SCREEN_HEIGHT;
///top 与 left 互换 width 与 height 互换
[_output setRectOfInterest:CGRectMake(top,left, height, width)];
// Session
_session = [[AVCaptureSession alloc]init];
[_session setSessionPreset:AVCaptureSessionPresetHigh];
if ([_session canAddInput:self.input])
{
[_session addInput:self.input];
}
if ([_session canAddOutput:self.output])
{
[_session addOutput:self.output];
}
// 条码类型 AVMetadataObjectTypeQRCode
// [_output setMetadataObjectTypes:[NSArray arrayWithObjects:AVMetadataObjectTypeEAN13Code,AVMetadataObjectTypeEAN8Code,AVMetadataObjectTypeCode128Code,AVMetadataObjectTypeQRCode, nil]];
[_output setMetadataObjectTypes:[NSArray arrayWithObjects:
AVMetadataObjectTypeEAN13Code,
AVMetadataObjectTypeEAN8Code,
AVMetadataObjectTypeUPCECode,
AVMetadataObjectTypeCode39Code,
AVMetadataObjectTypeCode39Mod43Code,
AVMetadataObjectTypeCode93Code,
AVMetadataObjectTypeCode128Code,
AVMetadataObjectTypePDF417Code,
AVMetadataObjectTypeQRCode,
AVMetadataObjectTypeDataMatrixCode,
nil]];
// Preview
_preview =[AVCaptureVideoPreviewLayer layerWithSession:_session];
_preview.videoGravity = AVLayerVideoGravityResizeAspectFill;
_preview.frame =self.layer.bounds;
[self.layer insertSublayer:_preview atIndex:0];
// Start
[_session startRunning];
}
#pragma mark AVCaptureMetadataOutputObjectsDelegate
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputMetadataObjects:(NSArray *)metadataObjects fromConnection:(AVCaptureConnection *)connection
{
NSString *stringValue;
if ([metadataObjects count] >0)
{
//停止扫描
[_session stopRunning];
[timer setFireDate:[NSDate distantFuture]];
AVMetadataMachineReadableCodeObject * metadataObject = [metadataObjects objectAtIndex:0];
stringValue = metadataObject.stringValue;
NSLog(@"扫描结果:%@",stringValue);
//[AccountInfoOC ShareAccountInfoOC].qrCodeData = stringValue;
[self.delegate getQRCodeSwiftViewValue:stringValue];
NSArray *arry = metadataObject.corners;
// for (id temp in arry) {
// NSLog(@"%@",temp);
// }
//WebViewController *web = [[WebViewController alloc]init];
//[self.navigationController pushViewController:web animated:YES];
} else {
NSLog(@"无扫描信息");
return;
}
}
//获取当前屏幕显示的viewcontroller
- (UIViewController *)getCurrentVC {
UIViewController *result = nil;
UIWindow *window = [[UIApplication sharedApplication] keyWindow];
if (window.windowLevel != UIWindowLevelNormal)
{
NSArray *windows = [[UIApplication sharedApplication] windows];
for (UIWindow *tmpWin in windows)
{
if (tmpWin.windowLevel == UIWindowLevelNormal)
{
window = tmpWin;
break;
}
}
}
UIView *frontView = [[window subviews] objectAtIndex:0];
id nextResponder = [frontView nextResponder];
if ([nextResponder isKindOfClass:[UIViewController class]]) {
result = nextResponder;
} else {
result = window.rootViewController;
}
return result;
}
@end
#ifndef Demo_codeObfuscation_h #ifndef Demo_codeObfuscation_h
#define Demo_codeObfuscation_h #define Demo_codeObfuscation_h
//confuse string at 2022年 7月 5日 星期二 15时38分05秒 CST //confuse string at 2022年 7月 8日 星期五 14时50分49秒 CST
#define BaseViewController OuFYfYTPcRhQjqQx #define BaseViewController qpdVXKmcQfZNjWXK
#define myTableView FRwplTEdpOAWkMFu #define myTableView YsmyRJjTWbbiwVad
#define setCacheAccountInfo fXoaEPsGcEOlrvyD #define setCacheAccountInfo GKVyTOzktgaGypeg
#define setClassWebUrlAccountInfo IsJyrjmFTvyjkkmW #define setClassWebUrlAccountInfo RNlzCBPkvDCWdVjS
#define setWebUrlAction vRHpBjQzlRozdmrE #define setWebUrlAction yfsmqutFevmacRcC
#define SinglePointWeChatVC tdYwztkPoyJUIRym #define SinglePointWeChatVC zlHOpivarErQfIgV
#define onLogin yqqJotzuxcyrEpPg #define onLogin SqGSpUVycGaWjLOk
#define getLoginTypeHttpAction hsYbFxxEuDttNzJh #define getLoginTypeHttpAction XCUCbxSYymWqwfWv
#define loginTypeHttpGetCmdTypeAction tgjUzNvyiWjcrwMT #define loginTypeHttpGetCmdTypeAction shHQNkeuoSIyapkJ
#define getScopeListHttpCmd cfMndPFwmIwUxrut #define getScopeListHttpCmd XDjGKlwvhwnUxSfZ
#define selectSinglePointTypeAction sdnkBlWMWSpfMhLT #define selectSinglePointTypeAction KkcwVJxsYxEbTOSr
#define getLoginHttpPostCmdCmd DhTBzQBBnnTsBwhc #define getLoginHttpPostCmdCmd WOdzgUbTBTQdmKve
#define httpLoginHttpPostResultResponse wdSSIEXUSjfwFKFU #define httpLoginHttpPostResultResponse PxhgbqqhAqXRtwBX
#define getNewVersionUpdateHttpCmd ngHeFfhWSCnQCWTF #define getNewVersionUpdateHttpCmd rtxttDHoiBMkrOdA
#define getLoginDeviceInformationHttpCmd GLTNFoByNuHMyvdc #define getLoginDeviceInformationHttpCmd BXxEFRLZtrxEbIHl
#define getMyInformationHttpGetCmd FMgMixPLIHlXxKXZ #define getMyInformationHttpGetCmd xjklIrwhJMIvhjKL
#define getVerifyTokenHttpPostCmdAction DUsplEJuZACAOaNK #define getVerifyTokenHttpPostCmdAction KUbwgqQMsBhNouaS
#define httpVerifyTokenHttpResultResponse MVemUskORVIQiAQb #define httpVerifyTokenHttpResultResponse QQyjhRRsWVMIgKMT
#define loginGetUserInfo zunXYXmygGlgdWep #define loginGetUserInfo zeJwVxQsCpsVWmRa
#define httpSinglePointinfoHttpResultResponse DCopzLXaGoBpFyKW #define httpSinglePointinfoHttpResultResponse wNszFIlOFWLQCTpr
#define getWeChatXinfoHttpPostCmd iInUWcLfACMyBsDz #define getWeChatXinfoHttpPostCmd uqGMynIPbGxgEVEO
#define getWeChatBindingHttpPostCmd gLKGyOXzkBvennsS #define getWeChatBindingHttpPostCmd HlyckobFEdbsLFWQ
#define httpWeChatXinfoHttpResultResponse eZSezQwBhugTjRTP #define httpWeChatXinfoHttpResultResponse OtOqohZokCWwXpIv
#define SinglePointWeChatHttp IVPztHsQhFOhLabK #define SinglePointWeChatHttp GrLVvURACcDPNzYe
#define judgmentTokenExpired(resultBlock:@escaping zElbfixLkEMMVUFC #define judgmentTokenExpired(resultBlock:@escaping suQEazAXuvUuETgz
#define httpVerificationTokenHttpResultResponse(result:RequestResult,resultBlock:@escaping hnWdvbKcwnsPYUkz #define httpVerificationTokenHttpResultResponse(result:RequestResult,resultBlock:@escaping KGhLsUxMmJXxjPRf
#define getRefreshTokenHttpPostCmd(resultBlock:@escaping PjhXzBSwvnWQMtpa #define getRefreshTokenHttpPostCmd(resultBlock:@escaping RkGCjjQPxCHNFMrV
#define func UmjvWxGeGNOQowpe #define func ZpJhEqFPyuRjxiOd
#define getLoginDeviceInformationHttpCmd(resultBlock:@escaping LhxjBEaXDlHzKMaQ #define getLoginDeviceInformationHttpCmd(resultBlock:@escaping VeGGnsrbOTqEkfPJ
#define httpDeviceInformationHttpResultResponse(result: xjpsMMjSdelaIUOw #define httpDeviceInformationHttpResultResponse(result: TutGrVYjhXeVIwQh
#define LoginViewController PINgnOSzBLGyyqbg #define LoginViewController BWEtvLFLNkhPOOGH
#define WeChatBindingViewController TOlyxNgpDetvOYmY #define WeChatBindingViewController SlSTtNyDspRrYdtP
#define SinglePointViewController utiDbxwzMiKPhsTH #define SinglePointViewController bHrtYNikdfGHvKVs
#define MineViewController SMWsqeayBZfwEpWt #define MineViewController vVuBnrCIzhlvvgOP
#define getSelectCompanyHttpCmd OnNdnFsHEaQprprD #define getSelectCompanyHttpCmd ETVbNvsHSeIeUjRo
#define httpSelectCompanyHttpResultResponse TTMPqnSWvPcrRbsi #define httpSelectCompanyHttpResultResponse frArcgFebjVdZQGJ
#define SelectCompanyViewController MlPFdiMXSreNGlHS #define SelectCompanyViewController McPxePdjTdNFQVJQ
#define MineMoreViewController VNCsFUrVAyFNlauM #define MineMoreViewController pHwplXMRwGHViDUp
#define WebSwiftViewController jQSVCSqQXfSrBhMz #define WebSwiftViewController dzfyDMtoYVTjYPkF
#define webView SIthiTntfeEatWnK #define webView ueTzFdVBchwCLLli
#define webViewUrl okOvCSgfDmUdgvZW #define webViewUrl OHwSAdRpQgqpLaYj
#define appid YsObfCuCudwcoYRW #define appid AOGDnnRpfSlcXxeD
#define webActionTitle cuRfDQSaNymBKonE #define webActionTitle tFfXIgnMumHhzVtP
#define setwebView EBPQeCAPXFaPluDQ #define setwebView pFTZoNLUMDpxNlSZ
#define backPrevious YmnExBdyLVImGwhd #define backPrevious vmAtlqPQRuRRXIuQ
#define WebActionOC zaurCXOaigLsGEtT #define WebActionOC dnLDBdWkgscFboSY
#define getUrl ejtAOFCMnMwhWgiw #define getUrl MjGIgIYoIATwLFUS
#define getWebCookie qXXDkmzSvfDXroCI #define getWebCookie jYtbboSdQCAsdsFg
#define encryptAES VlpozkmXYyqZheAF #define encryptAES QlFErHDyfVTPDxFd
#define decryptAES cCRyKlZdkzvJChfV #define decryptAES SiBAtujTluZewgoE
#define ChangePassWordViewController yreXIQOuAoMQPBiF #define ChangePassWordViewController GvhqJCRCBXguTlqt
#define oldTextView aAyNBIzTddrWvjPf #define oldTextView kRizJHzfvyOGmjqV
#define newTextView aABMHdjiwvaFjYLG #define newTextView szvkdRYesUttcwML
#define confirmPassTextView dJbvKzKeKuNUGvdz #define confirmPassTextView ENARBPkEQTbsDdws
#define actionChangePassWord SQieixpnRUsEQBQl #define actionChangePassWord bendwluAxwNpcqzB
#define getChangePasswordHttpCmd gGVCrjojfzrriKqM #define getChangePasswordHttpCmd HfKHetTjmRFoIRHl
#define httpChangePasswordHttpResultResponse ittSEDLXkhUUNeiA #define httpChangePasswordHttpResultResponse kkZgfWEhncwNdlIc
#define getSinglePointPasswordHttpPostCmd bjYGzmMTyQdqOaMb #define getSinglePointPasswordHttpPostCmd gwooByHcVNIvivUZ
#define httpSinglePointPasswordHttpResultResponse mVvSqeBWSOfZAGvM #define httpSinglePointPasswordHttpResultResponse XNWXTbYhDjckhlLV
#define loginTypeHttpGetCmdTypeAction YwkvCCvaHjfaHgmv #define loginTypeHttpGetCmdTypeAction PcjtIdXQGOWvOqIl
#define MineMoreViewController JEPWIfscPjueNOSB #define MineMoreViewController ufyeDMcsMFISGtbH
#define getMyApplicationListHttpCmd mAobckVWVrOgJUpL #define getMyApplicationListHttpCmd SKKOXsUDdKdspkgf
#define httpMyApplicationListHttpResultResponse sSEQKEnaltCaGdhQ #define httpMyApplicationListHttpResultResponse QqOJYgLXfyfveRVG
#define getAllApplicationHttpListCmd XQfzRVMlvgMmlbpJ #define getAllApplicationHttpListCmd IBrRCQUQeSRHSsmH
#define httpMoreApplicationsTwoHttpResultResponse tOFDjOSaPucRTThJ #define httpMoreApplicationsTwoHttpResultResponse SwJCcIlXFpBNXLvA
#define changeBlockAction ZJuVUXyEhxWJcdEi #define changeBlockAction LsGEOcWkfrxcoUHL
#define getHttpCollcetionViewModellArray gWxigJVdNirECQHm #define getHttpCollcetionViewModellArray JJhLMeRGxmLjdhqC
#define getHttpCollcetionViewModellTwoArray bKlQUesBCvLiagaG #define getHttpCollcetionViewModellTwoArray BWVtulgmDwODKkGL
#define getHttpMineMoreCollectionViewCellModel YzJyFMmGSFMafEkH #define getHttpMineMoreCollectionViewCellModel uYsXhSKcNGwtnLPt
#define getSaveApplicationsHttpCmd lxTcGNvRoZpfbKbt #define getSaveApplicationsHttpCmd KGhZSZQCfbPQAMHq
#define httpSaveApplicationListHttpResultResponse UUHvqhgQVMfCcRFV #define httpSaveApplicationListHttpResultResponse vxNEMuJAUGjtfdvi
#define httpSelectCompanyHttpResultResponse zIIyeQRRNZELIBGX #define httpSelectCompanyHttpResultResponse nmkhrEGPkzcWdvhg
#define gotoCompanyListVC DaIhlwCURNVvmEHa #define gotoCompanyListVC MRlDFieyHZTyddKi
#define SelectCompanyViewController KWaNhpIYePKaOdNn #define SelectCompanyViewController vPrkXcGQEStsCJJz
#define actionCompanyHttpGCD ukhvomGLxwDONKrT #define actionCompanyHttpGCD aJWibegmHdgVGAhr
#define actiondepartmentHttpGCD KmlBTciAJPnWRfHX #define actiondepartmentHttpGCD TuGCpCTBMphikkEs
#define myApplicationAction PlOJjIIlTDaiCwiH #define myApplicationAction VZEZoMCPggGNvUNB
#define downloadOpenApp sdGcTWVQsaumkvwj #define downloadOpenApp oQsHQclFLRSjpXOn
#define oftenApplicationType jAfYsWhGwAOTuUhl #define oftenApplicationType MHrbDaHDnqmADHzd
#define HTHttpConfig zzwMMAAVOCdSgZtE #define HTHttpConfig ktTYsPRcHFKHKiDU
#define kServiceAddressURL1 vOjuAiGSXkGiDzzn #define kServiceAddressURL1 BjSlvzZiQUpaGvFX
#define imageURL1 sNpyiZpIzinFHooz #define imageURL1 YgnDOzZDBkcrwPhT
#define kServiceAddressURL yuvosLWhVyPBGUxx #define kServiceAddressURL phHQWSJczPcqMjvq
#define imageURL oanGxLkoLLvUNFql #define imageURL ISmrjVnWIqJYvdnN
#define kServiceAddressURL2 GZYhosFLPVjJVHap #define kServiceAddressURL2 MiKrzCXjQDrxlmld
#define imageURL2 QNGWuchqbnfbOouV #define imageURL2 cznSvOvpClKXffJf
#define HomeViewController SRvlLEDXdwehpwQq #define HomeViewController mEFYOSnLjIuHlBZG
#define actionHttpGCD xmqqKeXhVgNRdxzJ #define actionHttpGCD lUMDiKyazGQZGIFg
#define getHttpHomeClassListCmd CluOnOCRkctVXsvB #define getHttpHomeClassListCmd fetMjsFtKkoHDCBa
#define httpHttpHomeClassListResultResponse dFxggDftyXSskcdK #define httpHttpHomeClassListResultResponse QzxNVBfsTViWWZaf
#define getUpcomingCountHttpPostCmd tDgMgmbxIunLGtHK #define getUpcomingCountHttpPostCmd DwxFzxwtsRJBdFHE
#define httpUpcomingCountHttpResultResponse syDRYEIBGKxlGHFG #define httpUpcomingCountHttpResultResponse PfOEelIzsgkKKqyX
#define getMessageNunberShowHttpPostCmd lWenzdQscvOGOULH #define getMessageNunberShowHttpPostCmd sodPIBLoQKHSIiOm
#define httpMessageNumberShowHttpResultResponse ubmKSojymBDkyRlE #define httpMessageNumberShowHttpResultResponse OsjiFrieXjrvHDwO
#endif #endif
...@@ -19,7 +19,7 @@ class NotificationService: UNNotificationServiceExtension { ...@@ -19,7 +19,7 @@ class NotificationService: UNNotificationServiceExtension {
// 444b4a4c86a09bd2e27367fe 测试 // 444b4a4c86a09bd2e27367fe 测试
// c0eb5d604f19e9d58af5f8de 正式 // c0eb5d604f19e9d58af5f8de 正式
JPushNotificationExtensionService.jpushSetAppkey("444b4a4c86a09bd2e27367fe") JPushNotificationExtensionService.jpushSetAppkey("c0eb5d604f19e9d58af5f8de")
JPushNotificationExtensionService.jpushReceive(request) { JPushNotificationExtensionService.jpushReceive(request) {
print("apns upload success") print("apns upload success")
contentHandler(request.content) contentHandler(request.content)
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment