27 lines
520 B
Objective-C
27 lines
520 B
Objective-C
//
|
|
// NetResponseModel.h
|
|
// SRKnow
|
|
//
|
|
// Created by CYH on 2020/7/21.
|
|
// Copyright © 2020 shirong. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface NetResponseModel : NSObject
|
|
|
|
/// 状态码 0:成功
|
|
@property(nonatomic, assign)NSInteger code;
|
|
//@property(nonatomic, assign)NSInteger ret;
|
|
/// 数据
|
|
//@property(nonatomic, strong)id info;
|
|
@property(nonatomic, strong)id data;
|
|
/// 状态文字
|
|
@property(nonatomic, copy)NSString *message;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|