123456789101112131415161718192021222324252627 |
- //
- // MTBaseModel.h
- //
- // Created by Simon on 2019/3/22.
- // Copyright © 2019 Simon. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "YYModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface MTBaseModel : NSObject
- @property (nonatomic, assign) NSInteger code;
- @property (nonatomic, assign) NSInteger is_login;
- @property (nonatomic, strong) id data;
- @property (nonatomic, copy) NSString *msg;
- - (void) clarifyResultWithSuccess:(void(^)(void))success failed:(void(^)(NSInteger code))failed;
- @end
- NS_ASSUME_NONNULL_END
|