123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // SPSBAppProfileModel.m
- // 我的社保
- //
- // Created by shanp on 2021/4/27.
- //
- #import "SPSBAppProfileModel.h"
- #import "SPSBHomeViewADModel.h"
- #import <JXHGeneralTools.h>
- #import "SPSBHomeViewButtonsModel.h"
- @implementation SPSBAppPopImageModel @end
- @implementation SPSBAppVersionModel @end
- @implementation SPSBAppProfileModel
- - (id)GETspsb_entranceFlagWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- return [SPSBHomeViewButtonsModel getModelWithDictionary:dic[key]];
- }
- - (id)GETspsb_adsWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- return [SPSBHomeViewADModel getModelListWithArray:dic[key]];
- }
- - (id)GETspsb_index_policyWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- return [SPSBHomeViewADModel getModelListWithArray:dic[key]];
- }
- - (id)GETspsb_barListWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- if (!dic[key] || jxh_isNullClass(dic[key]) || ![dic[key] isKindOfClass:[NSArray class]]) {
- return @[];
- }
- return dic[key];
- }
- - (id)GETspsb_uriListWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- if (!dic[key] || jxh_isNullClass(dic[key]) || ![dic[key] isKindOfClass:[NSArray class]]) {
- return @[];
- }
- return dic[key];
- }
- - (id)GETspsb_pop_imgWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- return [SPSBAppPopImageModel getModelWithDictionary:dic[key]];
- }
- - (id)GETspsb_vWithDictionary:(nullable NSDictionary *)dic key:(NSString *)key {
- return [SPSBAppVersionModel getModelWithDictionary:dic[key]];
- }
- @end
|