You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
898 B
36 lines
898 B
1 year ago
|
//
|
||
|
// WIFIModel.h
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by Apple on 2020/4/10.
|
||
|
// Copyright © 2020 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "baseModel.h"
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@interface WIFIModel : baseModel
|
||
|
|
||
|
/// wifi名字
|
||
|
//@property (nonatomic, strong) NSString *name; baseModel 有了name 属性了
|
||
|
/// 没有为空字符串 表示WIFI 无需密码
|
||
|
@property (nonatomic, strong) NSString *password;
|
||
|
|
||
|
#pragma mark ---WIFI配置接口---
|
||
|
|
||
|
/// 获取数据接口
|
||
|
+ (void)getWIFIDataSuccess:(void (^)(WIFIModel *model))success
|
||
|
failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
|
||
|
+ (void)getWIFIDataListSuccess:(void (^)(WIFIModel *model))success
|
||
|
failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
- (void)postWIFIDataSuccess:(void (^)(id responseObject))success
|
||
|
failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|