//
//  postMessageThird.m
//  Open
//
//  Created by 看看智能 on 2017/3/2.
//  Copyright © 2017年 黄江涛 . All rights reserved.
//

#import "postMessageThird.h"
#import "PostMessageView.h"
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>
#import "XWLocationManager.h"
#import <AddressBookUI/AddressBookUI.h>
#import "HXProvincialCitiesCountiesPickerview.h"
#import "HXAddressManager.h"
#define SCREENHEIGHT [UIScreen mainScreen].bounds.size.height//获取设备高度
#define SCREENWIDTH [UIScreen mainScreen].bounds.size.width//获取设备宽度
@interface postMessageThird ()<MKMapViewDelegate,CLLocationManagerDelegate,UITextViewDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,LQPhotoPickerViewDelegate,UIAlertViewDelegate,CLKeyboardOffsetViewDelegate,UITextFieldDelegate>
@property(nonatomic,strong) UILabel*titleLab;
@property(nonatomic,strong)PostMessageView *viewP;
@property(nonatomic,strong)NSString *longitude;
@property(nonatomic,strong)NSString *latitude;
@property(nonatomic,strong)PostMessageViewModel*postVM;
@property(nonatomic,strong)NSMutableArray *postSuperMessageArray;
@property(nonatomic,strong)NSData *base64P;
@property (nonatomic,strong) HXProvincialCitiesCountiesPickerview *regionPickerView;
//省
@property(nonatomic,strong)NSString *province;
//市
@property(nonatomic,strong)NSString *city;
//区
@property(nonatomic,strong)NSString *country;
//记录数字的字符串
@property(nonatomic,strong)NSString *numberCity;
//记录城市名
@property(nonatomic,strong)NSMutableArray *baocun;
//记录城市的id
@property(nonatomic,strong)NSMutableArray *dataArr;
//记录进入方法几次
@property(nonatomic,strong)NSMutableArray *picArr;
@property(nonatomic)NSInteger	tagForProvince;
@end

@implementation postMessageThird

+ (postMessageThird *)sharedInstance{
    static postMessageThird *p = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        p=[[postMessageThird alloc]init];
    });
    return p;
}


-(NSMutableArray *)baocun
{
    if (!_baocun) {
        _baocun =[NSMutableArray new];
    }
    return _baocun;
}
-(NSMutableArray *)dataArr
{
    if (!_dataArr) {
        _dataArr =[NSMutableArray new];
    }
    return _dataArr;
}

-(PostMessageViewModel *)postVM
{
    if (!_postVM) {
        _postVM =[PostMessageViewModel new];
    }
    return _postVM;

}
-(NSMutableArray *)postSuperMessageArray
{
    if (!_postSuperMessageArray) {
        _postSuperMessageArray =[NSMutableArray new];
     
        
    }
    return _postSuperMessageArray;
}
-(NSMutableArray *)picArr{
    if (!_picArr) {
        _picArr =[NSMutableArray new];
    }
    return _picArr;
}


-(void)viewWillAppear:(BOOL)animated
{  [super viewWillAppear:YES];
      [self.view openKeyboardOffsetView];
     [_viewP.buttomAddress setTitle:@"显示地点" forState:UIControlStateNormal];
   
}
- (void)viewDidLoad {
    [super viewDidLoad];
self.navigationController.toolbarHidden=YES;
  


    //获取第一条数据大
    //获取第二条数据小类
    
    //初始化视图层
    
        _viewP =[PostMessageView sharedInstance];
    [self.view addSubview:_viewP];

    [_viewP mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];

    [_viewP addSubview:self.LQPhotoPicker_superView];
    //图片选择器
   
    self.LQPhotoPicker_imgMaxCount = 3;
    //这里会造成内存泄漏
    [self LQPhotoPicker_initPickerView];
    
    self.LQPhotoPicker_delegate = self;
    

    
    _viewP.HeaderTitle.placeholder=@"输入标题";
    [_viewP.buttomWithSender setTitle:self.superStr forState:UIControlStateNormal];
    _viewP.Smallline.backgroundColor =kRGBColor(34, 167, 222);
    [_viewP.publishChild setTitle:self.chilfStr forState:UIControlStateNormal];
       _viewP.imaginaryLine.backgroundColor=kRGBColor(216, 216, 216);
    _viewP.publishView.delegate=self;
    _viewP.publishViewLab.text=@"输入你要发布的文字";
    _viewP. publishView.backgroundColor=[UIColor clearColor];
    
    [_viewP.buttomWithImage addTarget:self action:@selector(changeHeadView2:) forControlEvents:UIControlEventTouchUpInside];
    _viewP.line.backgroundColor=kRGBColor(123, 123, 123);
    [_viewP.buttomAddress addTarget:self action:@selector(orientationOfMap:) forControlEvents:UIControlEventTouchUpInside];
    _viewP. contactTitle.font=[UIFont systemFontOfSize:18];
    _viewP.nameLab.text=@"姓名:";
    _viewP.telLab.text=@"电话:";
        _viewP.textFieldName.placeholder=@"name";
    _viewP.textFieldTel.placeholder=@"tele";
    _viewP.addressLabel.text=@"地址:";
    _viewP.addressTextField.placeholder =@"address";
    [_viewP.publishSenderMessage addTarget:self action:@selector(senderMessages:) forControlEvents:UIControlEventTouchUpInside];
    [_viewP layoutIfNeeded];
    
    CGFloat XX = _viewP.publishView.frame.origin.y;
    CGFloat Heigh = _viewP.publishView.bounds.size.height;
    NSLog(@"Width:%f\nHeigh:%f",XX,Heigh);
         [self LQPhotoPicker_updatePickerViewFrameY:XX +Heigh +30];
    
    _viewP.addressTextField.keyboardGap=100;
    _viewP.addressTextField.delegate =self;
    _viewP.textFieldTel.delegate =self;
    _viewP.textFieldName.delegate =self;
    _viewP.HeaderTitle.delegate =self;
}
#pragma mark - 发布数据
-(void)senderMessages:(UIButton *)sender
{

    
    
    UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"确认发布吗?" message:nil preferredStyle:UIAlertControllerStyleActionSheet];
    UIAlertAction *action1 = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:nil];
    UIAlertAction *action2 = [UIAlertAction actionWithTitle:@"发布" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) {
        [self snap];
    }];

    [alert addAction:action1];
    [alert addAction:action2];

    
    [self presentViewController:alert animated:YES completion:nil];
    
    
    
    
    
    

}
//判断是否是整形
- (BOOL)isPureInt:(NSString*)string{
    
    NSScanner* scan = [NSScanner scannerWithString:string];
    
    int val;
    
    return[scan scanInt:&val] && [scan isAtEnd];
    
}
//判断是否为浮点形：

- (BOOL)isPureFloat:(NSString*)string{
    
    NSScanner* scan = [NSScanner scannerWithString:string];
    
    float val;
    
    return[scan scanFloat:&val] && [scan isAtEnd];
    
}

-(void)snap{
    [SVProgressHUD shows];
    [self submitToServer];

        if ([_viewP.HeaderTitle.text isEqualToString:@""]) {
             [SVProgressHUD doneShow];
            SVProgressHUD.minimumDismissTimeInterval =1.0;
           
            [SVProgressHUD showErrorWithStatus:@"请填入主题"];
            return;
        }
        if ([_viewP.publishView.text isEqualToString:@""]) {
             [SVProgressHUD doneShow];
            SVProgressHUD.minimumDismissTimeInterval =1.0;
            [SVProgressHUD showErrorWithStatus:@"请填入发布内容"];
            return;
        }
//        if (!_country) {
//            SVProgressHUD.minimumDismissTimeInterval =1.0;
//            [SVProgressHUD showErrorWithStatus:@"请按显示地点"];
//            return;
//        }
    if ([_viewP.buttomAddress.titleLabel.text isEqualToString:@"显示地点"]) {
         [SVProgressHUD doneShow];
        SVProgressHUD.minimumDismissTimeInterval =1.0;
        [SVProgressHUD showErrorWithStatus:@"请按显示地点"];
        return;
    }
        if (_viewP.textFieldName.text.length <=0) {
             [SVProgressHUD doneShow];
            SVProgressHUD.minimumDismissTimeInterval =1.0;
            [SVProgressHUD showErrorWithStatus:@"请填入姓名"];
            return;
        }
        if (!_viewP.textFieldTel.text || ![self isPureInt:_viewP.textFieldTel.text] || [_viewP.textFieldTel.text  length] !=11) {
             [SVProgressHUD doneShow];
            SVProgressHUD.minimumDismissTimeInterval =1.0;
            [SVProgressHUD showErrorWithStatus:@"请填入电话"];
            return;
        }
        if (_viewP.addressTextField.text.length <=0) {
             [SVProgressHUD doneShow];
            SVProgressHUD.minimumDismissTimeInterval =1.0;
            [SVProgressHUD showErrorWithStatus:@"请填入地址"];
            return;
        }
        _viewP.publishSenderMessage.userInteractionEnabled =NO;
        NSLog(@"publishName:%@",_viewP.HeaderTitle.text);
        
        NSLog(@"publish_name:%@",_viewP.textFieldName.text);
//        NSLog(@"publish_parent:%lu",[getPeopleID PeopleID]);
        NSLog(@"parentName:%@",_superStr);
        NSLog(@"childName:%@",_chilfStr);
        NSLog(@"province:%@",_province);
        NSLog(@"city:%@",_city);
        NSLog(@"country:%@",_country);
        NSLog(@"contentView:%@",_viewP.publishView.text);
        NSLog(@"publish_tel:%@",_viewP.textFieldTel.text);
        NSLog(@"publish_address:%@",_viewP.addressTextField.text);
        NSLog(@"image:%@",_picArr);
        NSLog(@"location_x:%f",[_longitude doubleValue]);
        NSLog(@"location_y:%f",[_latitude doubleValue]);
        
        
        [postMessageMNet getinsertPublishInfoPublishName:_viewP.HeaderTitle.text   andPublish_name:_viewP.textFieldName.text andUser_id:[getPeopleID PeopleID] andPublish_parentName:_superStr andCatalogName:nil andPublish_catelogName:_chilfStr andpublish_province:_province andPublish_city:_city andPublish_country:_country andPublish_content:_viewP.publishView.text andTelephone:_viewP.textFieldTel.text andPublish_address:_viewP.addressTextField.text andImage:_picArr andLocation_X:[_longitude doubleValue] andLocation_Y:[_latitude doubleValue] completionHandle:^(postMessageModel *model, NSError *error) {
             [SVProgressHUD doneShow];
            
            if ([model.code isEqualToString:@"0"]) {
                SVProgressHUD.minimumDismissTimeInterval =1.0;
                [SVProgressHUD showSuccessWithStatus:@"发布成功"];
                [self.navigationController popToRootViewControllerAnimated:YES];
                _viewP.publishSenderMessage.userInteractionEnabled =YES;
            }else
            {
                SVProgressHUD.minimumDismissTimeInterval =1.0;
                [SVProgressHUD showErrorWithStatus:@"发布失败"];
                _viewP.publishSenderMessage.userInteractionEnabled =YES;
            }
            
        }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(void)imagechooseclick:(UIButton*)buttom
{
    NSLog(@"111");
    
}


-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [self.view endEditing:YES];


}


#pragma mark - textView的代理方法
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text
{
    if (![text isEqualToString:@""])
    {
         _viewP.publishViewLab.hidden = YES;
    }
    //range.location == 0 && range.length == 1 表示输入的是第一个字符
    if ([text isEqualToString:@""] && range.location == 0 && range.length == 1)
    {
        _viewP.hidden = NO;
    }
    if ([text isEqualToString:@"\n"]) {
        [textView resignFirstResponder];
    }
    return YES;
}
#pragma mark - 获取照片的协议和alert
-(void)changeHeadView2:(UIButton *)tap
{
    [self submitToServer];
    [self  submitBtnClicked];
}
- (void)submitBtnClicked{
    
    if (![self checkInput]) {
        return;
    }

}

#pragma maek - 检查输入
- (BOOL)checkInput{
    if (_viewP.publishView.text.length == 0) {
        [SVProgressHUD showErrorWithStatus:@"文本为空"];
        return NO;
    }
    return YES;
}


#pragma mark - 上传数据到服务器前将图片转data（上传服务器用form表单：未写）
- (void)submitToServer{
    [self.picArr removeAllObjects];
   self.picArr = [self LQPhotoPicker_getBigImageArray];
    //大图数据
//    NSMutableArray *bigImageDataArray = [self LQPhotoPicker_getBigImageDataArray];
    //小图数组
//    NSMutableArray *smallImageArray = [self LQPhotoPicker_getSmallImageArray];
    //小图数据
//    NSMutableArray *smallImageDataArray =
//    self.picArr= [self LQPhotoPicker_getSmallDataImageArray];
}
#define mark -这里showpicker
- (HXProvincialCitiesCountiesPickerview *)regionPickerView {
    if (!_regionPickerView) {
        _regionPickerView = [[HXProvincialCitiesCountiesPickerview alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
        
        __weak typeof(self) wself = self;
        _regionPickerView.completion = ^(NSString *provinceName,NSString *numberSign,NSString *countyName) {
            if (!numberSign) {
                [SVProgressHUD showErrorWithStatus:@"选择空请重新选择"];
                return ;
            }
            
            
            
            if (self.tagForProvince == 1) {
            __strong typeof(wself) self = wself;
            self.province = [NSString stringWithFormat:@"%@",provinceName,nil,nil];
            self.numberCity =numberSign;
            NSLog(@"这里执行第二个数据");
            [SVProgressHUD show];
            NSString *name =@"province_name";
            NSString *ID =@"province_id";
//                NSString *IDEn == nil ? @"" : self.province;
                
                NSString *IDEn =nil;
  
                    IDEn =  [EnercryTool encryptUseDES:self.numberCity  key:@"KkweFace95271124"];
                NSLog(@"IDEn:%@",IDEn);
//
//                self.province == nil ? @"" : self.province;
            NSString *NameEn =  [EnercryTool encryptUseDES:self.province key:@"KkweFace95271124"];
                 NSLog(@"NameEn:%@",NameEn);
            NSString *path =@"";
            path  = [IPDIZHI stringByAppendingString:@"/socialsecurity/kankan/city"];
                
            [CityNetManager getMD5Method:name encrypt:NameEn andTheOther:ID twoEncrypt:IDEn andPutThePathForThis:path completionHandle:^(CitytoCityModel *model, NSError *error) {
                if (model.result.count ==0) {
                    [SVProgressHUD showErrorWithStatus:@"选择空重新选择"];
                           return;
                }
                
                
                
                [self.baocun removeAllObjects];
                [self.dataArr removeAllObjects];
                for (CityToCityResultModel *models in model.result) {
                    //保存了city数据
                    [self.baocun addObject:models.city_name];
                    NSData *data =[NSKeyedArchiver archivedDataWithRootObject:models.city_id];
                    [self.dataArr addObject:data];
                }
                NSArray * CityNetWorkForID = [NSArray arrayWithArray:self.dataArr];
                NSUserDefaults *userDefaults =[NSUserDefaults standardUserDefaults];
                [userDefaults setObject:CityNetWorkForID forKey:@"myCityModelID"];
                [userDefaults synchronize];
                //修改
                NSArray * CityNetWorkArray = [NSArray arrayWithArray:self.baocun];
                //修改
                NSUserDefaults *userDefault =[NSUserDefaults standardUserDefaults];
                [userDefault setObject:CityNetWorkArray forKey:@"myCityModel"];
                [userDefault synchronize];
                self.regionPickerView =nil;
                [SVProgressHUD dismiss];
                self.tagForProvince =2;
                [self.regionPickerView showPickerWithProvinceName:nil cityName:nil countyName:nil index:3];
            }];
                
                 }
            if (self.tagForProvince == 2) {
                [SVProgressHUD show];
                     __strong typeof(wself) self = wself;
                self.city =provinceName;
                  self.numberCity =numberSign;
                NSLog(@"provinceNmae:%@",self.numberCity);
                NSLog(@"provinceNmae:%@",self.city);

                
                
           
             
              
                NSString *name =@"city_name";
                NSString *ID =@"city_id";
                //id
                NSString *IDEn = nil;

                   IDEn = [EnercryTool encryptUseDES:self.numberCity  key:@"KkweFace95271124"];
                
                
                
                
                //name
                NSString *NameEn = nil;
                NameEn = [EnercryTool encryptUseDES:self.numberCity  key:@"KkweFace95271124"];
                NSString *path =@"";
                path  = [IPDIZHI stringByAppendingString:@"/socialsecurity/kankan/county"];
                [CityNetManager getAreaMethod:name encrypt:NameEn andTheOther:ID twoEncrypt:IDEn andPutThePathForThis:path completionHandle:^(areaModel *model, NSError *error) {
                    if (model.result.count ==0) {
                        [SVProgressHUD showErrorWithStatus:@"选择空重新选择"];
                               return;
                    }
                    [self.baocun removeAllObjects];
                    [self.dataArr removeAllObjects];
                    for (CityToAreaResultModel *models in model.result) {
                        //保存了city数据
                        [self.baocun addObject:models.county_name];
                        NSData *data =[NSKeyedArchiver archivedDataWithRootObject:models.county_id];
                        [self.dataArr addObject:data];
                    }
                    NSArray * CityNetWorkForID = [NSArray arrayWithArray:self.dataArr];
                    NSUserDefaults *userDefaults =[NSUserDefaults standardUserDefaults];
                    [userDefaults setObject:CityNetWorkForID forKey:@"myCityModelID"];
                    [userDefaults synchronize];
                    //修改
                    NSArray * CityNetWorkArray = [NSArray arrayWithArray:self.baocun];
                    //修改
                    NSUserDefaults *userDefault =[NSUserDefaults standardUserDefaults];
                    [userDefault setObject:CityNetWorkArray forKey:@"myCityModel"];
                    [userDefault synchronize];
                    self.regionPickerView =nil;
                    [SVProgressHUD dismiss];
                    self.tagForProvince =3;
                  [self.regionPickerView showPickerWithProvinceName:nil cityName:nil countyName:nil index:3];
                }];
      
            }
            if (self.tagForProvince ==3) {
                 _country = provinceName;
                SVProgressHUD.minimumDismissTimeInterval=2.0;
                [SVProgressHUD showSuccessWithStatus:@"选择成功"];
                [wself.viewP.buttomAddress setTitle: [NSString stringWithFormat:@"地址:%@%@%@",wself.province,wself.city,wself.country] forState:UIControlStateNormal];
                NSLog(@"数据执行完毕");
            }

        };
        [self.navigationController.view addSubview:_regionPickerView];
    }
    return _regionPickerView;
}
-(void)orientationOfMap:(UIButton*)button
{//test
    _viewP.buttomAddress.userInteractionEnabled =NO;
    
    
    [_postSuperMessageArray  addObjectsFromArray:self.postVM.arrayForNews];
    //test
    [[XWLocationManager sharedXWLocationManager] getCurrentLocation:^(CLLocation *location, CLPlacemark *placeMark, NSString *error) {
        if (error) {
            
            _longitude= MHSafeStrings(@"当前无法定位");
            _latitude= MHSafeStrings(@"当前无法定位");
            NSLog(@"定位出错,错误信息:%@",error);
        }else{
            NSLog(@"     定位成功:经度:%f 纬度:%lf 当前地址:%@  \n location详细信息:%@ \n 当前城市名字:%@ ",location.coordinate.latitude, location.coordinate.longitude, placeMark.name, location,placeMark.country);
            //            [self.loactionText setText:[NSString stringWithFormat:@"%@%@%@",
            //                                        //                                        MHSafeString(placeMark.country),
            //                                        MHSafeString(placeMark.administrativeArea),
            //                                        MHSafeString(placeMark.thoroughfare),
            //                                        MHSafeString(placeMark.name)
            //                                        ]];
            
            _longitude =    [NSString stringWithFormat:@"%lf",location.coordinate.longitude];
            NSLog(@"%@",_longitude);
            _latitude =    [NSString stringWithFormat:@"%lf",location.coordinate.latitude];
        }
    } onViewController:self];
    
    

    
    self.tagForProvince=0;
    
    if (self.tagForProvince == 0) {
     
        
        [SVProgressHUD show];
        NSString *NameEnerypt =  [EnercryTool A:@"黄江涛"];
        NSString *IdentiftyEnerypt = [EnercryTool A:@"42112619940907171X"];
        NSString *path  = [IPDIZHI stringByAppendingString:@"/socialsecurity/kankan/getProvince"];
        [CityNetManager getMoreCityForThisMethod:@"name" encrypt:NameEnerypt andTheOther:@"identityNumber" twoEncrypt:IdentiftyEnerypt  andPutThePathForThis:path andID:[getPeopleID PeopleID] completionHandle:^(CityModel *model, NSError *error) {
            _viewP.buttomAddress.userInteractionEnabled =YES;
            if (model.result.count ==0) {
                [SVProgressHUD showErrorWithStatus:@"选择空重新选择"];
                return;
            }
            
            
            if(error){
                [SVProgressHUD showErrorWithStatus:@"服务器无法连接"];
                return;
            }
        
         
//            dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
                [SVProgressHUD dismiss];
                [self.baocun removeAllObjects];
                [self.dataArr removeAllObjects];
                for (CityResultModel *models in model.result) {
                    [self.baocun addObject:models.provice_name];
                    NSData *data =[NSKeyedArchiver archivedDataWithRootObject:models.provice_id];
                    [self.dataArr addObject:data];
                    //保存了city_id的数据
                    
                }
                NSArray * CityNetWorkForID = [NSArray arrayWithArray:self.dataArr];
                NSUserDefaults *userDefaults =[NSUserDefaults standardUserDefaults];
                [userDefaults setObject:CityNetWorkForID forKey:@"myCityModelID"];
                [userDefaults synchronize];
                //修改
                NSArray * CityNetWorkArray = [NSArray arrayWithArray:self.baocun];
                //修改
                NSUserDefaults *userDefault =[NSUserDefaults standardUserDefaults];
                [userDefault setObject:CityNetWorkArray forKey:@"myCityModel"];
                [userDefault synchronize];
            self.tagForProvince=1;
                   [self.regionPickerView showPickerWithProvinceName:nil cityName:nil countyName:nil index:3];
//                self.regionPickerView =nil;
                [SVProgressHUD dismiss];
     
//            });
//            dispatch_async(dispatch_get_main_queue(), ^{
//                self.tagForProvince =1;
//                
//            });
            
        }];
    }
}

-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
    
    if (textField == _viewP.HeaderTitle) {
        [_viewP.HeaderTitle resignFirstResponder];
    }
    if (textField == _viewP.textFieldName) {
        [_viewP.textFieldName resignFirstResponder];
    }
    if (textField == _viewP.textFieldTel) {
        [_viewP.textFieldTel resignFirstResponder];
    }
    if (textField == _viewP.addressTextField) {
        [_viewP.addressTextField resignFirstResponder];
    }
    if (_viewP.addressTextField.text.length >0 ) {
        [_viewP.publishSenderMessage setBackgroundColor:kRGBColor(20, 163, 129)];
        
    }else
    {
     [_viewP.publishSenderMessage setBackgroundColor:kRGBColor(123, 123, 123)];
    }
   
    return YES;
}

//JAnalytics
-(void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    [JANALYTICSService startLogPageView:@"免费发布 - 发布提交"];
    [MobClick beginLogPageView:@"免费发布 - 发布提交"];
}
-(void)viewDidDisappear:(BOOL)animated{
    [super viewDidDisappear:animated];
    [MobClick endLogPageView:@"免费发布 - 发布提交"];
    [JANALYTICSService stopLogPageView:@"免费发布 - 发布提交"];
}




@end
