NetEngine

@interface NetEngine : NSObject

网络请求引擎,处理网络数据加载

  • lbs

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, retain) id lbs

    Swift

    var lbs: Any! { get set }
  • 取消request请求 *

    • - returns: 引擎单例

    Declaration

    Objective-C

    + (NetEngine *)sharedInstance;

    Swift

    class func sharedInstance() -> NetEngine!
  • 取消request请求 *

    • - parameter: del 取消属于该对象的request

    Declaration

    Objective-C

    - (void)cancelRequestInDelegate:(id)del;

    Swift

    func cancelRequest(inDelegate del: Any!)
  • 取消所有的request请求 *

    Declaration

    Objective-C

    - (void)cancelAllRequest;

    Swift

    func cancelAllRequest()
  • 清理缓存 *

    Declaration

    Objective-C

    - (void)clearCache;

    Swift

    func clearCache()
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic,retain) NSArray * galleryArray

    Swift

    var galleryArray: [Any]! { get set }
  • Undocumented

    Declaration

    Objective-C

    - (dispatch_queue_t)concurrentQueue;

    Swift

    func concurrentQueue() -> DispatchQueue!
  • Undocumented

    Declaration

    Objective-C

    -(NSString *)appId;

    Swift

    func appId() -> String!
  • Undocumented

    Declaration

    Objective-C

    -(NSString *)packageId;

    Swift

    func packageId() -> String!
  • Undocumented

    Declaration

    Objective-C

    -(NSString *)userId;

    Swift

    func userId() -> String!
  • Undocumented

    Declaration

    Objective-C

    -(void)v2newsQueryFirstPartsWithDel:(id)del
                                    sel:(SEL)sel;

    Swift

    func v2newsQueryFirstParts(withDel del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)v2newsQueryTwoPartsWithParentId:(NSString *)parentId
                                   del:(id)del
                                    sel:(SEL)sel;

    Swift

    func v2newsQueryTwoParts(withParentId parentId: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)v2newsQueryFirstPageWithParentId:(NSString *)parentId
                                       del:(id)del
                                       sel:(SEL)sel;

    Swift

    func v2newsQueryFirstPage(withParentId parentId: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)v2newsQueryPartsWithPartId:(NSString *)partId
                             parentId:(NSString *)parentId
                                count:(NSUInteger)cnt
                             dateTime:(NSString *)datetime
                             newOrOld:(NewOrOld)eVal
                           modifyTime:(NSString *)modifyTime
                                  del:(id)del
                                  sel:(SEL)sel;

    Swift

    func v2newsQueryParts(withPartId partId: String!, parentId: String!, count cnt: UInt, dateTime datetime: String!, newOrOld eVal: NewOrOld, modifyTime: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    - (void)getNewsDetailWithNewsID:(NSString *)newsID del:(id)delegate sel:(SEL)sel isShowImage:(NSString *)isShow;

    Swift

    func getNewsDetail(withNewsID newsID: String!, del delegate: Any!, sel: Selector!, isShowImage isShow: String!)
  • 获取列表和卡片式新闻详情页html地址

    Declaration

    Objective-C

    - (void)getNewsDetailWithNewsDetailURL:(NSString *)newsDetailURL
                                       del:(id)delegate
                                       sel:(SEL)sel
                               isShowImage:(NSString *)isShow;

    Swift

    func getNewsDetail(withNewsDetailURL newsDetailURL: String!, del delegate: Any!, sel: Selector!, isShowImage isShow: String!)

    Parameters

    newsDetailURL

    新闻地址

    delegate

    delegate

    sel

    回调函数

    isShow

    是否显示图片

  • Undocumented

    Declaration

    Objective-C

    - (void)newsPraisesAndStepWithAppId:(NSString *)appId
                                 userID:(NSString *)userId
                                 newsId:(NSString *)newsId
                                   type:(NSString *)type
                               userName:(NSString *)userName
                            accountType:(NSString *)accountType
                                    del:(id)delegate
                                    sel:(SEL)sel;

    Swift

    func newsPraisesAndStep(withAppId appId: String!, userID userId: String!, newsId: String!, type: String!, userName: String!, accountType: String!, del delegate: Any!, sel: Selector!)
  • 获取广告

    Declaration

    Objective-C

    - (void)adGetBiddingADWithProductType:(AdType)productType
                                 adNumber:(NSUInteger)adNum
                                      del:(id)del
                                      sel:(SEL)sel;

    Swift

    func adGetBiddingAD(withProductType productType: AdType, adNumber adNum: UInt, del: Any!, sel: Selector!)

    Parameters

    productType

    广告类型

    adNum

    广告数,只有轮播广告需要传值

    del

    委托

    sel

    回调方法

  • 广告统计

    Declaration

    Objective-C

    - (void)adActivateADWithProductType:(AdType)productType
                                   AdId:(NSString *)adId
                           activateType:(AdActiveType)activateType
                               authorId:(NSString *)authorId
                                    del:(id)del
                                    sel:(SEL)sel;

    Swift

    func adActivateAD(withProductType productType: AdType, adId: String!, activate activateType: AdActiveType, authorId: String!, del: Any!, sel: Selector!)

    Parameters

    productType

    广告类型

    adId

    广告id

    activateType

    广告触发类型

    del

    委托

    sel

    回调方法

  • 获取金币账户概要信息

    Declaration

    Objective-C

    - (void)goldGetSummaryWithOwnerId:(NSString *)userId del:(id)del sel:(SEL)sel;

    Swift

    func goldGetSummary(withOwnerId userId: String!, del: Any!, sel: Selector!)

    Parameters

    userId

    账户Id

    del

    委托

    sel

    回调方法

  • 获取收益排行

    Declaration

    Objective-C

    - (void)goldGetIncomeRankWithFromIndex:(NSUInteger)fromIndex
                                     count:(NSUInteger)cnt
                                       del:(id)del
                                       sel:(SEL)sel;

    Swift

    func goldGetIncomeRankWith(from fromIndex: UInt, count cnt: UInt, del: Any!, sel: Selector!)

    Parameters

    fromIndex

    从排行榜的第几条开始,不传时取默认值0。

    cnt

    要获取的条数,不传时取默认值20。

    del

    委托

    sel

    回调方法

  • 获取余额及指定税目的费率

    Declaration

    Objective-C

    - (void)goldGetBalanceAndRateWithTax:(NSUInteger)tax
                                 ownerId:(NSString *)userId
                                     del:(id)del
                                     sel:(SEL)sel;

    Swift

    func goldGetBalanceAndRate(withTax tax: UInt, ownerId userId: String!, del: Any!, sel: Selector!)

    Parameters

    tax

    税目编号。取值1表示转账;2表示提现。

    userId

    用户ID,不传时取上下文中的用户ID。

    del

    委托

    sel

    回调方法

  • 获取报纸首页信息

    Declaration

    Objective-C

    - (void)newsQueryFirstPageTwoWithDel:(id)del sel:(SEL)sel;

    Swift

    func newsQueryFirstPageTwo(withDel del: Any!, sel: Selector!)

    Parameters

    appId

    应用的Id

    del

    委托

    sel

    回调方法

  • Undocumented

    Declaration

    Objective-C

    -(void)newsQueryPartsTwoWithPartId:(NSString *)partId
                                 count:(NSUInteger)cnt
                              dateTime:(NSString *)datetime
                              newOrOld:(NewOrOld)eVal
                            modifyTime:(NSString *)modifyTime
                                   del:(id)del
                                   sel:(SEL)sel;

    Swift

    func newsQueryPartsTwo(withPartId partId: String!, count cnt: UInt, dateTime datetime: String!, newOrOld eVal: NewOrOld, modifyTime: String!, del: Any!, sel: Selector!)
  • 赞新闻

    Declaration

    Objective-C

    - (void)newsAddPraisesWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func newsAddPraises(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻id

    del

    委托

    sel

    回调方法

  • 取消赞

    Declaration

    Objective-C

    - (void)newsRemovePraisesWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func newsRemovePraises(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻id

    del

    委托

    sel

    回调方法

  • 查询是否被赞过

    Declaration

    Objective-C

    - (void)newsQueryPraisesWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func newsQueryPraises(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻id

    del

    委托

    sel

    回调方法

  • 查询新闻的附件信息: 比如音频和视频

    Declaration

    Objective-C

    - (void)newsQueryNewsAttachmentWithId:(NSString *)newsId
                                      del:(id)del
                                      sel:(SEL)sel;

    Swift

    func newsQueryNewsAttachment(withId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻Id

    del

    委托

    sel

    回调方法

  • 查询用户赞+收藏数

    Declaration

    Objective-C

    - (void)newsQueryPraisesAndFavoritesWithDel:(id)del
                                            sel:(SEL)sel
                                         userId:(NSString *)userId;

    Swift

    func newsQueryPraisesAndFavorites(withDel del: Any!, sel: Selector!, userId: String!)

    Parameters

    del

    委托

    sel

    回调方法

  • 通过新闻Id 获取作者

    Declaration

    Objective-C

    - (void)newsGetAuthorsWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func newsGetAuthors(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻Id

    del

    委托

    sel

    回调方法

  • 获取作者信息

    Declaration

    Objective-C

    - (void)newsGetUserInfoWithId:(NSString *)userId del:(id)del sel:(SEL)sel;

    Swift

    func newsGetUserInfo(withId userId: String!, del: Any!, sel: Selector!)

    Parameters

    userId

    用户Id

    del

    委托

    sel

    回调方法

  • 获取用户信息

    Declaration

    Objective-C

    - (void)getUserInfoByUserId:(NSString *)userId del:(id)del sel:(SEL)sel;

    Swift

    func getUserInfo(byUserId userId: String!, del: Any!, sel: Selector!)

    Parameters

    userId

    用户Id

    del

    委托

    sel

    回调方法

  • Undocumented

    Declaration

    Objective-C

    -(void)getUserExtendInfomationsdel:(id)del
                                       sel:(SEL)sel
                                withUserID:(NSString *)userID
                             currentUserId:(NSString *)currentId
                                     AppId:(NSString *)appID
                                     codes:(NSString *)codes;

    Swift

    func getUserExtendInfomationsdel(_ del: Any!, sel: Selector!, withUserID userID: String!, currentUserId currentId: String!, appId appID: String!, codes: String!)
  • 更新用户扩展内容

    Declaration

    Objective-C

    - (void)saveUserExtendInfodel:(id)del
                              sel:(SEL)sel
                  withUserExInfos:(NSArray *)exInfos;

    Swift

    func saveUserExtendInfodel(_ del: Any!, sel: Selector!, withUserExInfos exInfos: [Any]!)

    Parameters

    UserExInfos

    用户扩展信息集合

  • 检测是否完善信息

    Declaration

    Objective-C

    - (void)checkSetPersonInfosdel:(id)del
                               sel:(SEL)sel
                            userid:(NSString *)userID
                             appid:(NSString *)appID;

    Swift

    func checkSetPersonInfosdel(_ del: Any!, sel: Selector!, userid userID: String!, appid appID: String!)

    Parameters

    appID

    应用id

    userID

    用户id

  • Undocumented

    Declaration

    Objective-C

    -(void)getUserInforMationsdel:(id)del sel:(SEL)sel withUserID:(NSString *)userID;

    Swift

    func getUserInforMationsdel(_ del: Any!, sel: Selector!, withUserID userID: String!)
  • 更新用户信息

    Declaration

    Objective-C

    - (void)updateUserInfoWithNickName:(NSString *)nickname
                               WithSex:(int)sexNum
                       WithBase64Photo:(NSString *)base64Photo
                      WithPersonalized:(NSString *)personIntroduce
                                   del:(id)del
                                   sel:(SEL)sel
                            withUserID:(NSString *)userID;

    Swift

    func updateUserInfo(withNickName nickname: String!, withSex sexNum: Int32, withBase64Photo base64Photo: String!, withPersonalized personIntroduce: String!, del: Any!, sel: Selector!, withUserID userID: String!)

    Parameters

    nickname

    用户昵称

    sexNum

    用户性别编号

    base64Photo

    base64 照片流

    personIntroduce

    个性签名

    del

    委托

    sel

    回调方法

  • 同步修改用户信息

    Declaration

    Objective-C

    - (void)updateUserInfoWithKey:(NSString *)key
                         andValue:(NSString *)value
                              del:(id)del
                              sel:(SEL)sel
                   withEmployeeId:(NSString *)employeeId;

    Swift

    func updateUserInfo(withKey key: String!, andValue value: String!, del: Any!, sel: Selector!, withEmployeeId employeeId: String!)

    Parameters

    key

    <#key description#>

    value

    <#value description#>

    del

    <#del description#>

    sel

    <#sel description#>

    employeeId

    <#userID description#>

  • 过appId 获取设置的自动回复

    Declaration

    Objective-C

    - (void)newsGetAutoContentWithDel:(id)del sel:(SEL)sel;

    Swift

    func newsGetAutoContent(withDel del: Any!, sel: Selector!)

    Parameters

    del

    委托

    sel

    回调方法

  • 通过authorId 获取作者的新闻数据

    Declaration

    Objective-C

    - (void)newsQueryNewsByAuthorId:(NSString *)authorId
                              count:(NSUInteger)cnt
                           dateTime:(NSString *)datetime
                           newOrOld:(NewOrOld)eVal
                                del:(id)del
                                sel:(SEL)sel;

    Swift

    func newsQueryNews(byAuthorId authorId: String!, count cnt: UInt, dateTime datetime: String!, newOrOld eVal: NewOrOld, del: Any!, sel: Selector!)

    Parameters

    authorId

    作者Id

    cnt

    新闻条数

    datetime

    新闻时间 第一次加载数据时间为空,可不传值

    isOld

    0表示新数据,1表示旧数据

    del

    委托

    sel

    回调方法

  • 新闻内容同步数据

    Declaration

    Objective-C

    - (void)newsGetSyncDataWithPartId:(NSString *)partId
                           createTime:(NSString *)createTime
                           modifyTime:(NSString *)modifyTime
                           fetchCount:(NSUInteger)fetchCount
                                  del:(id)del
                                  sel:(SEL)sel;

    Swift

    func newsGetSyncData(withPartId partId: String!, createTime: String!, modifyTime: String!, fetchCount: UInt, del: Any!, sel: Selector!)

    Parameters

    partId

    栏目Id"

    createTime

    新闻列表中最大新闻最大的CreateDate时间

    modifyTime

    闻列表中新闻最大的ModifiedOn修改时间

    fetchCount

    个数

    del

    委托

    sel

    回调方法

  • 获取新闻详情数据

    Declaration

    Objective-C

    - (void)phoneUserQueryNewsDetailsById:(NSString *)newsId
                                      del:(id)del
                                      sel:(SEL)sel;

    Swift

    func phoneUserQueryNewsDetails(byId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻I

    del

    委托

    sel

    回调方法

  • Undocumented

    Declaration

    Objective-C

    -(void)newsSendCommentWithNewId:(NSString *)newsId
                            content:(NSString *)content
                     geographicInfo:(NSString *)geographicInfo
                           location:(NSString *)location
                          commentId:(NSString *)commentId
                                del:(id)del
                                sel:(SEL)sel;

    Swift

    func newsSendComment(withNewId newsId: String!, content: String!, geographicInfo: String!, location: String!, commentId: String!, del: Any!, sel: Selector!)
  • 获取独立App中新闻的评论 进入详情页面获取一条数据也是调用此接口,commentCount传值1就行

    Declaration

    Objective-C

    - (void)cqQueryNewsCommentsWithNewsId:(NSString *)newsId
                                 dateTime:(NSString *)datetime
                             commentCount:(NSUInteger)commentCount
                               replyCount:(NSUInteger)replyCount
                                 newOrOld:(NewOrOld)eVal
                                      del:(id)del
                                      sel:(SEL)sel;

    Swift

    func cqQueryNewsComments(withNewsId newsId: String!, dateTime datetime: String!, commentCount: UInt, replyCount: UInt, newOrOld eVal: NewOrOld, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻id

    datetime

    时间

    commentCount

    评论数

    replyCount

    回复个数

    eVal

    新数据或者旧数据

    del

    委托

    sel

    回调方法

  • 获取个人评论

    Declaration

    Objective-C

    - (void)cqQueryAppUserCommentsExReplayWithFetchCount:(NSUInteger)fetchCount
                                                dateTime:(NSString *)datetime
                                                newOrOld:(NewOrOld)eVal
                                                     del:(id)del
                                                     sel:(SEL)sel;

    Swift

    func cqQueryAppUserCommentsExReplay(withFetchCount fetchCount: UInt, dateTime datetime: String!, newOrOld eVal: NewOrOld, del: Any!, sel: Selector!)

    Parameters

    fetchCount

    获取评论中多少条回复

    datetime

    获取数据的时间点,第一次加载数据时间为空,可不传值,如果获取新数据,则取当前数据中CreatedDate最大值,如果获取旧数据,则取当前数据中CreatedDate的最小值

    isOld

    0表示新数据,1表示旧数据

    del

    委托

    sel

    回调方法

  • 检查版本更新

    Declaration

    Objective-C

    - (void)checkVersionUpdateVersion:(NSString *)currentVersions
                                  del:(id)del
                                  sel:(SEL)sel;

    Swift

    func checkVersionUpdateVersion(_ currentVersions: String!, del: Any!, sel: Selector!)

    Parameters

    addId

    appid

    currentVersions

    版本信息

    del

    委托

    sel

    回调方法

  • 发布者信息

    Declaration

    Objective-C

    - (void)orgGetInfoBySubId:(NSString *)subId del:(id)del sel:(SEL)sel;

    Swift

    func orgGetInfo(bySubId subId: String!, del: Any!, sel: Selector!)

    Parameters

    subId

    用户id

    del

    委托

    sel

    回调方法

  • 发布者信息

    Declaration

    Objective-C

    - (void)orgGetInfoByOwnId:(NSString *)ownId
                          del:(id)del
                          sel:(SEL)sel
                   withUserID:(NSString *)userID;

    Swift

    func orgGetInfo(byOwnId ownId: String!, del: Any!, sel: Selector!, withUserID userID: String!)

    Parameters

    ownId

    企业id

    del

    委托

    sel

    回调方法

  • 设置用户头像

    Declaration

    Objective-C

    - (void)umSetUserPhotoBase64:(NSString *)photoString
                             del:(id)del
                             sel:(SEL)sel
                      withUserID:(NSString *)userID;

    Swift

    func umSetUserPhotoBase64(_ photoString: String!, del: Any!, sel: Selector!, withUserID userID: String!)

    Parameters

    photoString

    格式要求图片转换成base64string 类型

    del

    委托

    sel

    回调方法

  • Undocumented

    Declaration

    Objective-C

    -(void)umSetUserPhoto:(NSString *)photoString
                      del:(id)del
                      sel:(SEL)sel
               withUserID:(NSString *)userID;

    Swift

    func umSetUserPhoto(_ photoString: String!, del: Any!, sel: Selector!, withUserID userID: String!)
  • 获取用户信息

    Declaration

    Objective-C

    - (void)uqQueryAppUserInfoWithDel:(id)del sel:(SEL)sel;

    Swift

    func uqQueryAppUserInfo(withDel del: Any!, sel: Selector!)

    Parameters

    del

    委托

    sel

    回调方法

  • 获取独立App我的收藏

    Declaration

    Objective-C

    - (void)fqGetAppFavoritesWithFetchCount:(NSUInteger)fetchCount
                                   dateTime:(NSString *)datetime
                                   newOrOld:(NewOrOld)eVal
                                        del:(id)del
                                        sel:(SEL)sel;

    Swift

    func fqGetAppFavorites(withFetchCount fetchCount: UInt, dateTime datetime: String!, newOrOld eVal: NewOrOld, del: Any!, sel: Selector!)

    Parameters

    fetchCount

    获取评论中多少条回复

    datetime

    获取数据的时间点,第一次加载数据时间为空,可不传值,如果获取新数据,则取当前数据中CreatedDate最大值,如果获取旧数据,则取当前数据中CreatedDate的最小值

    isOld

    0表示新数据,1表示旧数据

    del

    委托

    sel

    回调方法

  • 添加独立App收藏

    Declaration

    Objective-C

    - (void)fqAddAppFavoriteWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func fqAddAppFavorite(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻Id

    del

    委托

    sel

    回调方法

  • 取消收藏

    Declaration

    Objective-C

    - (void)fqRemoveAppFavoriteWithNewsId:(NSString *)newsId
                                      del:(id)del
                                      sel:(SEL)sel;

    Swift

    func fqRemoveAppFavorite(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻Id

    del

    委托

    sel

    回调方法

  • 是否收藏过

    Declaration

    Objective-C

    - (void)fqQueryFavoriteWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func fqQueryFavorite(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻Id

    del

    委托

    sel

    回调方法

  • Undocumented

    Declaration

    Objective-C

    -(void)launchGetFaceAndStartImgWithDel:(id)del
                                       sel:(SEL)sel;

    Swift

    func launchGetFaceAndStartImg(withDel del: Any!, sel: Selector!)
  • App应用的分享

    Declaration

    Objective-C

    - (void)bpGetAppShareContentInfosWithDel:(id)del sel:(SEL)sel;

    Swift

    func bpGetAppShareContentInfos(withDel del: Any!, sel: Selector!)

    Parameters

    del

    委托

    sel

    回调方法

  • 新闻内容的分享 ,短地址

    Declaration

    Objective-C

    - (void)shortUrlGenWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func shortUrlGen(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻Id

    del

    委托

    sel

    回调方法

  • Undocumented

    Declaration

    Objective-C

    -(void)reportNewsWithNewsContent:(NSString *) Content
                              newsId:(NSString *) newsId
                           newsTitle:(NSString *) newsTitle
                                 del:(id)del
                                 sel:(SEL)sel;

    Swift

    func reportNews(withNewsContent Content: String!, newsId: String!, newsTitle: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)shortUrlGenWithSourceUrl:(NSString *)newsId
                                del:(id)del
                                sel:(SEL)sel;

    Swift

    func shortUrlGen(withSourceUrl newsId: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)getAppOwnerTypeWiteDel:(id)del
                              sel:(SEL)sel;

    Swift

    func getAppOwnerTypeWiteDel(_ del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)gameGetNoPlayedWithDel:(id)del
                              sel:(SEL)sel;

    Swift

    func gameGetNoPlayed(withDel del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)readCountWithNewsIdPost:(NSString *) newsId
                               del:(id)del
                               sel:(SEL)sel;

    Swift

    func readCount(withNewsIdPost newsId: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)searchResultWithKeyWord:(NSString *) keyWord
                               del:(id)del
                               sel:(SEL)sel;

    Swift

    func searchResult(withKeyWord keyWord: String!, del: Any!, sel: Selector!)
  • @brief  发送数据到服务器
    
    - parameter:    dic     数据源
    
    - parameter:    strUrl  拼接好的请求网址
    
    - parameter:    delegate    需要返回数据的代理
    
    - parameter:    selector    需要返回数据的方法体
    
    @return 
    

    Declaration

    Objective-C

    - (void)sendFormRequestWithDictionary:(NSDictionary *)dic
                                      url:(NSString *)strUrl
                                 delegate:(id)delegate
                                 selector:(SEL)selector;

    Swift

    func sendFormRequest(with dic: [AnyHashable : Any]!, url strUrl: String!, delegate: Any!, selector: Selector!)
  • Undocumented

    Declaration

    Objective-C

    +(int)isExistenceNetwork;

    Swift

    class func isExistenceNetwork() -> Int32
  • 同步新闻数据

    Declaration

    Objective-C

    - (void)getSyncDataWithPartId:(NSString *)partId
                       createTime:(NSString *)createTime
                       modifyTime:(NSString *)modifyTime
                       fetchCount:(int)fetchCount
                              del:(id)del
                              sel:(SEL)sel;

    Swift

    func getSyncData(withPartId partId: String!, createTime: String!, modifyTime: String!, fetchCount: Int32, del: Any!, sel: Selector!)

    Parameters

    partId

    栏目id

    createTime

    <#createTime description#>

    modifyTime

    <#modifyTime description#>

    fetchCount

    <#fetchCount description#>

    del

    <#del description#>

    sel

    <#sel description#>

  • 获取获取卡片式首页

    Declaration

    Objective-C

    - (void)v3getQueryFirstCarPageWithPartId:(NSString *)partId
                                 orderStatus:(int)orderStatus
                                         del:(id)del
                                         sel:(SEL)sel;

    Swift

    func v3getQueryFirstCarPage(withPartId partId: String!, orderStatus: Int32, del: Any!, sel: Selector!)

    Parameters

    partId

    一级栏目id

    orderStatus

    2:图集 3:卡片

    del

    代理

    sel

    回调方法

  • 获取卡片式和图集式的新闻列表

    Declaration

    Objective-C

    - (void)v3newsQueryPartsWithPartId:(NSString *)partId
                              parentId:(NSString *)parentId
                                 count:(NSUInteger)cnt
                              dateTime:(NSString *)datetime
                              newOrOld:(NewOrOld)eVal
                            modifyTime:(NSString *)modifyTime
                                  type:(int)type
                                   del:(id)del
                                   sel:(SEL)sel;

    Swift

    func v3newsQueryParts(withPartId partId: String!, parentId: String!, count cnt: UInt, dateTime datetime: String!, newOrOld eVal: NewOrOld, modifyTime: String!, type: Int32, del: Any!, sel: Selector!)
  • 获取图集图片列表以及推荐图集

    Declaration

    Objective-C

    - (void)v3NewsQueryRecommendsWithNewsId:(NSString *)newsId
                                        del:(id)del
                                        sel:(SEL)sel;

    Swift

    func v3NewsQueryRecommends(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    图集新闻的新闻id

    del

    代理

    sel

    回调方法

  • 3.0发送评论的接口

    Declaration

    Objective-C

    - (void)v3newsSendCommentInfoWithCommentId:(NSString *)commentId
                                       content:(NSString *)content
                                geographicInfo:(NSString *)geographicInfo
                                      location:(NSString *)location
                                      parentId:(NSString *)parentId
                                      toUserId:(NSString *)toUserId
                                        voices:(NSString *)voices
                                        newsId:(NSString *)newsId
                                           del:(id)del
                                           sel:(SEL)sel;

    Swift

    func v3newsSendCommentInfo(withCommentId commentId: String!, content: String!, geographicInfo: String!, location: String!, parentId: String!, toUserId: String!, voices: String!, newsId: String!, del: Any!, sel: Selector!)

    Parameters

    commentId

    上级评论commentId(直接评论新闻时不传值或传“00000000-0000-0000-0000-000000000000

    content

    评论内容

    geographicInfo

    地理信息

    location

    位置信息

    parentId

    上级评论GrandpaId,若上级评论GrandpaId全为0时,则传上级评论CommentId(直接评论新闻时不传值或传00000000-0000-0000-0000-000000000000)

    toUserId

    回复人userId(回复谁,传谁的UserId,直接评论新闻时传自己的)

    voices

    语音信息

    newsId

    新闻ID

    del

    代理

    sel

    回调方法

  • 第四期(消息推送)发送评论方法

    Declaration

    Objective-C

    - (void)v4newsSendCommentInfoWithCommentId:(NSString *)commentId
                                       content:(NSString *)content
                                geographicInfo:(NSString *)geographicInfo
                                      location:(NSString *)location
                                      parentId:(NSString *)parentId
                                      toUserId:(NSString *)toUserId
                                         appid:(NSString *)appid
                                      sendName:(NSString *)sendName
                                        userId:(NSString *)userId
                                        newsId:(NSString *)newsId
                                           del:(id)del
                                           sel:(SEL)sel;

    Swift

    func v4newsSendCommentInfo(withCommentId commentId: String!, content: String!, geographicInfo: String!, location: String!, parentId: String!, toUserId: String!, appid: String!, sendName: String!, userId: String!, newsId: String!, del: Any!, sel: Selector!)

    Parameters

    commentId

    上级评论commentId(直接评论新闻时不传值或传“00000000-0000-0000-0000-000000000000

    content

    评论内容

    geographicInfo

    地理信息

    location

    位置信息

    parentId

    上级评论GrandpaId,若上级评论GrandpaId全为0时,则传上级评论CommentId(直接评论新闻时不传值或传00000000-0000-0000-0000-000000000000)

    toUserId

    回复人userId(回复谁,传谁的UserId,直接评论新闻时传自己的)

    appid

    应用id

    sendName

    发送人昵称

    userId

    发送评论时,用户的id

    newsId

    新闻ID

    del

    代理

    sel

    回调方法

  • 3.0根据newsId获取新闻类型

    Declaration

    Objective-C

    - (void)v3newsStatusWithNewsId:(NSString *)newsId del:(id)del sel:(SEL)sel;

    Swift

    func v3newsStatus(withNewsId newsId: String!, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻id

    del

    代理

    sel

    回调方法

  • 3.0获取图集下的评论

    Declaration

    Objective-C

    - (void)v3newsCommentWithWithNewsId:(NSString *)newsId
                           commentCount:(int)commentCount
                             replyCount:(int)replyCount
                               newOrOld:(NewOrOld)eVal
                                    del:(id)del
                                    sel:(SEL)sel;

    Swift

    func v3newsCommentWith(withNewsId newsId: String!, commentCount: Int32, replyCount: Int32, newOrOld eVal: NewOrOld, del: Any!, sel: Selector!)

    Parameters

    newsId

    新闻id

    commentCount

    服务器预留字段没用

    replyCount

    每次请求的条数

    eVal

    首次进入传1,下拉刷新传0,上拉加载更多传1

    del

    代理

    sel

    回调方法

  • 获取应用subId信息

    Declaration

    Objective-C

    - (NSString *)subId;

    Swift

    func subId() -> String!
  • 获取应用GroupUser信息

    Declaration

    Objective-C

    - (void)appGroupUserQueryWithDel:(id)del sel:(SEL)sel;

    Swift

    func appGroupUserQuery(withDel del: Any!, sel: Selector!)

    Parameters

    del

    代理

    sel

    回调方法

  • 获取应用组织信息

    Declaration

    Objective-C

    - (void)appOrgForeignInfoById:(id)del sel:(SEL)sel ownerId:(NSString *)ownerId;

    Swift

    func appOrgForeignInfo(byId del: Any!, sel: Selector!, ownerId: String!)

    Parameters

    del

    代理

    sel

    回调方法

    ownerId

    拥有者ID

  • 判断用户是不是组织内用户

    Declaration

    Objective-C

    - (void)checkOrgUser:(id)del
                     sel:(SEL)sel
                   orgid:(NSString *)orgid
                  userid:(NSString *)userid;

    Swift

    func checkOrgUser(_ del: Any!, sel: Selector!, orgid: String!, userid: String!)

    Parameters

    del

    代理

    sel

    回调方法

    orgid

    组织id

    userid

    登陆用户id

  • 获取一级栏目信息

    Declaration

    Objective-C

    - (void)newsQueryFirstPartsWithDel:(id)del
                                   sel:(SEL)sel
                        appGroupUserId:(NSArray *)groupUserId
                           accountType:(NSString *)accountType;

    Swift

    func newsQueryFirstParts(withDel del: Any!, sel: Selector!, appGroupUserId groupUserId: [Any]!, accountType: String!)

    Parameters

    del

    代理

    sel

    回调方法

    groupUserId

    组ID信息

    accountType

    账户类型 0:匿名 1:注册用户 2:应用主

  • 分享到广场

    Declaration

    Objective-C

    - (void)shareToJHSquare:(NSDictionary *)paramDic;

    Swift

    func share(toJHSquare paramDic: [AnyHashable : Any]!)

    Parameters

    paramDic

    参数字典

  • 获取应用背景图片

    Declaration

    Objective-C

    - (void)getAppBackgroundImageWithDel:(id)del sel:(SEL)sel;

    Swift

    func getAppBackgroundImage(withDel del: Any!, sel: Selector!)

    Parameters

    del

    代理

    sel

    回调方法

  • 获取企业轮播新闻

    Declaration

    Objective-C

    - (void)queryHomeSlidingIconsWithDel:(id)del sel:(SEL)sel;

    Swift

    func queryHomeSlidingIcons(withDel del: Any!, sel: Selector!)

    Parameters

    del

    回调类型

    sel

    回调函数

    appId

    应用id

  • Undocumented

    Declaration

    Objective-C

    - (void)getMyCommonsendFormRequestWithDictionary:(NSString *)dic url:(NSString *)strUrl delegate:(id)delegate selector:(SEL)selector;

    Swift

    func getMyCommonsendFormRequest(withDictionary dic: String!, url strUrl: String!, delegate: Any!, selector: Selector!)
  • 5期获取二级栏目及首个二级栏目下新闻数据

    Declaration

    Objective-C

    - (void)v5newsQueryFirstPageWithParentId:(NSString *)parentId
                                        type:(int)type
                                         del:(id)del
                                         sel:(SEL)sel
                                  lastMeters:(NSString *)lastMeters
                                         lon:(NSString *)lon
                                         lat:(NSString *)lat;

    Swift

    func v5newsQueryFirstPage(withParentId parentId: String!, type: Int32, del: Any!, sel: Selector!, lastMeters: String!, lon: String!, lat: String!)

    Parameters

    parentId

    一级栏目ID

    type

    栏目类型 0列表 2图集 3卡片

    del

    delegate

    sel

    回调函数

    lastMeters

    搜索范围(商街有用)

    lon

    用户当前经度 (商街有用)

    lat

    用户当前纬度 (商街有用)

  • 5期获取列表式栏目的新闻

    Declaration

    Objective-C

    - (void)v5newsQueryPartsWithPartId:(NSString *)partId
                              parentId:(NSString *)parentId
                                 count:(NSUInteger)cnt
                              dateTime:(NSString *)datetime
                            lastMeters:(NSString *)lastMeters
                                   lon:(NSString *)lon
                                   lat:(NSString *)lat
                              newOrOld:(NewOrOld)eVal
                            modifyTime:(NSString *)modifyTime
                             orderType:(int)orderType
                                  type:(int)type
                                   del:(id)del
                                   sel:(SEL)sel;

    Swift

    func v5newsQueryParts(withPartId partId: String!, parentId: String!, count cnt: UInt, dateTime datetime: String!, lastMeters: String!, lon: String!, lat: String!, newOrOld eVal: NewOrOld, modifyTime: String!, orderType: Int32, type: Int32, del: Any!, sel: Selector!)

    Parameters

    partId

    二级栏目id

    parentId

    一级栏目id

    cnt

    获取的条数

    datetime

    时间

    eVal

    新数据or旧数据

    modifyTime

    修改时间

    del

    delegate

    sel

    回调函数

    lastMeters

    搜索范围(商街有用)

    lon

    用户当前经度 (商街有用)

    lat

    用户当前纬度 (商街有用)

  • 智能培训

    Declaration

    Objective-C

    - (void)v5newsQueryPartsWithPartId:(NSString *)partId
                              parentId:(NSString *)parentId
                               storeId:(NSString *)storeId
                                 count:(NSUInteger)cnt
                              dateTime:(NSString *)datetime
                            lastMeters:(NSString *)lastMeters
                                   lon:(NSString *)lon
                                   lat:(NSString *)lat
                              newOrOld:(NewOrOld)eVal
                            modifyTime:(NSString *)modifyTime
                             orderType:(int)orderType
                                  type:(int)type
                                   del:(id)del
                                   sel:(SEL)sel;

    Swift

    func v5newsQueryParts(withPartId partId: String!, parentId: String!, storeId: String!, count cnt: UInt, dateTime datetime: String!, lastMeters: String!, lon: String!, lat: String!, newOrOld eVal: NewOrOld, modifyTime: String!, orderType: Int32, type: Int32, del: Any!, sel: Selector!)
  • 获取新闻标签和用户信息

    Declaration

    Objective-C

    - (void)v5GetUserInfoAndTagsWithNewIDS:(NSArray *)newIDSArr
                                       del:(id)del
                                       sel:(SEL)sel;

    Swift

    func v5GetUserInfoAndTags(withNewIDS newIDSArr: [Any]!, del: Any!, sel: Selector!)

    Parameters

    newIDSArr

    新闻id组成的数组

    del

    delegate

    sel

    回调函数

  • 登录完调用音频登录

    Declaration

    Objective-C

    - (void)getUserInfomation;

    Swift

    func getUserInfomation()
  • 上传文件

    Declaration

    Objective-C

    - (void)UploadFileWithFileName:(NSString *)fileName
                              size:(unsigned long long)length
                              data:(NSData *)dt
                               del:(id)del
                               sel:(SEL)sel;

    Swift

    func uploadFile(withFileName fileName: String!, size length: UInt64, data dt: Data!, del: Any!, sel: Selector!)

    Parameters

    fileName

    文件名称

    length

    文件长度

    dt

    数据buffer

    del

    委托

    sel

    回调处理方法

  • Undocumented

    Declaration

    Objective-C

    -(void)UploadFileWithFileName:(NSString *)fileName
                             size:(unsigned long long)length
                    startLocation:(long)location
                             data:(NSData *)dt
                         filePath:(NSString *)filePath
                       folderName:(NSString *)folderName
                          isVideo:(BOOL)isVideo
                              del:(id)del
                              sel:(SEL)sel
                             cell:(id)cellDel;

    Swift

    func uploadFile(withFileName fileName: String!, size length: UInt64, startLocation location: Int, data dt: Data!, filePath: String!, folderName: String!, isVideo: Bool, del: Any!, sel: Selector!, cell cellDel: Any!)
  • Undocumented

    Declaration

    Objective-C

    - (void)updateStoryWithMediaItem:(id)media del:(id)del sel:(SEL)sel cellDel:(id)cellDel;

    Swift

    func updateStory(withMediaItem media: Any!, del: Any!, sel: Selector!, cellDel: Any!)
  • 图文发布 * AppId: 应用id,字符串 UserId: 用户Id, 字符串 UserName: 用户昵称, 字符串 IsAnonymousUser: 是否匿名用户(0否1是), 布尔 ClientType: 客户端类型(2安卓3苹果), 整形 Name: 标题, 字符串 Html: 内容, 字符串 CoverUrl: 封面url, 字符串 MediaType: 媒体类型(0音频1视频), 整形 Seconds: 媒体时长(秒), 整形 MediaUrl: 媒体url, 字符串 MediaFileName: 媒体文件名称, 字符串 MediaFileSize: 媒体文件大小(字节数), 整形 NewsPartParentId: 一级栏目Id, 字符串( firstPartId ) NewsPartId: 二级栏目Id, 字符串( partId ) NewsPartType: 栏目类型, 整形( orderstatus ) Tags: [a,b,c],//标签 Identity: 0应用主、1投稿人、2组织内用户, 整形( identity ) OrgId: 组织Id, 字符串 ParamUrl: 参数url,用于后续参数扩展 字符串( paramUrl ) PicList: [{ ImgUrl: 图片地址, ImgDesc: 图片的描述, Cover: 图片封面1是封面 0不是封面 }] inforDic:扩充参数信息

    Declaration

    Objective-C

    - (void)createStoryVersionWithMeia:(BOOL)isMedia
                               PicList:(NSArray *)PicList
                                  Tags:(NSArray *)Tags
                                 media:(id)media
                              inforDic:(NSDictionary *)dic
                                   del:(id)del
                                   sel:(SEL)sel;

    Swift

    func createStoryVersion(withMeia isMedia: Bool, picList PicList: [Any]!, tags Tags: [Any]!, media: Any!, inforDic dic: [AnyHashable : Any]!, del: Any!, sel: Selector!)
  • 从ipFile.plist文件中读取网络环境

    Declaration

    Objective-C

    + (NSString *)netEnvironment;

    Swift

    class func netEnvironment() -> String!

    Return Value

    开发-dev,测试-test,预上线-pre,正式-

  • Undocumented

    Declaration

    Objective-C

    + (NSString *)RequestProtocol;

    Swift

    class func requestProtocol() -> String!
  • Undocumented

    Declaration

    Objective-C

    +(NSString *)newsDomain;

    Swift

    class func newsDomain() -> String!
  • Undocumented

    Declaration

    Objective-C

    +(NSString *)mvpDomain;

    Swift

    class func mvpDomain() -> String!
  • Undocumented

    Declaration

    Objective-C

    +(NSString *)getDomainWithKey:(NSString *)key;

    Swift

    class func getDomainWithKey(_ key: String!) -> String!
  • 根据新闻id删除新闻

    Declaration

    Objective-C

    - (void)delNewsByNewsIDS:(NSArray *)newsIDSArr del:(id)del sel:(SEL)sel;

    Swift

    func delNews(byNewsIDS newsIDSArr: [Any]!, del: Any!, sel: Selector!)

    Parameters

    newsIDSArr

    新闻id组成的数组

    del

    delegate

    sel

    回调函数

  • 判断新闻标题是不是链接

    Declaration

    Objective-C

    - (void)newsTitleIsLink:(NSString *)newsID del:(id)del sel:(SEL)sel;

    Swift

    func newsTitleIsLink(_ newsID: String!, del: Any!, sel: Selector!)

    Parameters

    newsID

    新闻ID

    del

    delegate

    sel

    回调函数

  • 判断用户是不是客服人员

    Declaration

    Objective-C

    - (void)queryUserIsCustomerServiceWithUserID:(NSString *)userID
                                             del:(id)del
                                             sel:(SEL)sel;

    Swift

    func queryUserIsCustomerService(withUserID userID: String!, del: Any!, sel: Selector!)

    Parameters

    userID

    用户ID

    del

    delegate

    sel

    回调函数

  • 判断是否有发布模版

    Declaration

    Objective-C

    - (void)queryHasTemplateFirstPartId:(NSString *)firstPartId
                                 partId:(NSString *)partId
                                    del:(id)del
                                    sel:(SEL)sel;

    Swift

    func queryHasTemplateFirstPartId(_ firstPartId: String!, partId: String!, del: Any!, sel: Selector!)

    Parameters

    firstPartId

    一级栏目ID

    partId

    二级栏目ID

    del

    delegate

    sel

    回调函数

  • 获取推荐列表新闻

    Declaration

    Objective-C

    - (void)queryRecommendNews:(NSNumber *)dataType
                     dataCount:(NSNumber *)dataCount
                        opType:(NSNumber *)opType
                    lastDataId:(NSString *)lastDataId
                           del:(id)del
                           sel:(SEL)sel;

    Swift

    func queryRecommendNews(_ dataType: NSNumber!, dataCount: NSNumber!, opType: NSNumber!, lastDataId: String!, del: Any!, sel: Selector!)

    Parameters

    dataType

    新闻类型0左图1右图2图集3卡片4链接5论坛6多媒体7商界

    dataCount

    每次获取的新闻条数

    opType

    0刷新1增量刷新2加载更多

    lastDataId

    上一条数据id--增量刷新(页面第一条数据)或更多(页面最后一条数据)

    del

    delegate

    sel

    回调函数

  • Undocumented

    Declaration

    Objective-C

    -(void)queryRecommendNews:(NSNumber *)dataType dataCount:(NSNumber *)dataCount  opType:(NSNumber *)opType orderType:(NSNumber *)orderType lastDataId:(NSString *)lastDataId del:(id)del sel:(SEL)sel;

    Swift

    func queryRecommendNews(_ dataType: NSNumber!, dataCount: NSNumber!, opType: NSNumber!, orderType: NSNumber!, lastDataId: String!, del: Any!, sel: Selector!)
  • 混排推荐栏目使用

    Declaration

    Objective-C

    - (void)getHomeRecommendPartNews:(NSString *)appid
                           dataCount:(NSNumber *)dataCount
                              opType:(NSNumber *)opType
                          lastDataId:(NSString *)lastDataId
                                 del:(id)del
                                 sel:(SEL)sel;

    Swift

    func getHomeRecommendPartNews(_ appid: String!, dataCount: NSNumber!, opType: NSNumber!, lastDataId: String!, del: Any!, sel: Selector!)

    Parameters

    appid

    应用id

    dataCount

    每次获取的新闻条数

    opType

    0刷新1增量刷新2加载更多

    lastDataId

    上一条数据id--增量刷新(页面第一条数据)或更多(页面最后一条数据)

    del

    delegate

    sel

    回调函数

  • 混排其它栏目使用

    Declaration

    Objective-C

    - (void)getHomeOtherPartNews:(NSString *)appid
                          partId:(NSString *)partId
                        parentId:(NSString *)parentId
                           count:(NSUInteger)cnt
                        dateTime:(NSString *)datetime
                      lastMeters:(NSString *)lastMeters
                             lon:(NSString *)lon
                             lat:(NSString *)lat
                        newOrOld:(NewOrOld)eVal
                      modifyTime:(NSString *)modifyTime
                       orderType:(int)orderType
                            type:(int)type
                             del:(id)del
                             sel:(SEL)sel;

    Swift

    func getHomeOtherPartNews(_ appid: String!, partId: String!, parentId: String!, count cnt: UInt, dateTime datetime: String!, lastMeters: String!, lon: String!, lat: String!, newOrOld eVal: NewOrOld, modifyTime: String!, orderType: Int32, type: Int32, del: Any!, sel: Selector!)

    Parameters

    appid

    应用id

    partId

    二级栏目id

    parentId

    一级栏目id

    cnt

    获取的条数

    datetime

    时间

    eVal

    新数据or旧数据

    modifyTime

    修改时间

    del

    delegate

    sel

    回调函数

    lastMeters

    搜索范围(商街有用)

    lon

    用户当前经度 (商街有用)

    lat

    用户当前纬度 (商街有用)

  • 获取推荐应用的APPID

    Declaration

    Objective-C

    - (void)getPromoStroeData:(id)del sel:(SEL)sel;

    Swift

    func getPromoStroeData(_ del: Any!, sel: Selector!)

    Parameters

    del

    delegate

    sel

    回调函数

  • Undocumented

    Declaration

    Objective-C

    - (NSURL *)changProtocolURLWithString:(NSString *)URLString;

    Swift

    func changProtocolURL(with URLString: String!) -> URL!
  • 根据应用id,获取应用信息

    Declaration

    Objective-C

    - (void)getAppInfoByIds:(NSArray *)appIDS del:(id)del sel:(SEL)sel;

    Swift

    func getAppInfo(byIds appIDS: [Any]!, del: Any!, sel: Selector!)

    Parameters

    appIDS

    新闻id组成的数组

    del

    delegate

    sel

    回调函数

  • Undocumented

    Declaration

    Objective-C

    - (void)deleteAppFavoriteBatch:(NSArray *)newsIDS del:(id)del sel:(SEL)sel;

    Swift

    func deleteAppFavoriteBatch(_ newsIDS: [Any]!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(void)queryNewsPics:(NSString *)newsIDS del:(id)del sel:(SEL)sel;

    Swift

    func queryNewsPics(_ newsIDS: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    -(NSURL *)getHeadFullFileURL:(NSString *)fileUrl;

    Swift

    func getHeadFullFileURL(_ fileUrl: String!) -> URL!
  • Undocumented

    Declaration

    Objective-C

    -(NSURL *)getPlayVideoFullFileURL:(NSString *)fileUrl;

    Swift

    func getPlayVideoFullFileURL(_ fileUrl: String!) -> URL!
  • Undocumented

    Declaration

    Objective-C

    + (NSString *)getHttpHost:(NSString *)strHost;

    Swift

    class func getHttpHost(_ strHost: String!) -> String!
  • Undocumented

    Declaration

    Objective-C

    + (void)queryViewCountNew:(NSString *)newsID;

    Swift

    class func queryViewCountNew(_ newsID: String!)
  • Undocumented

    Declaration

    Objective-C

    - (void)queryNewsForSearchComponent:(NSString *)urlStr del:(id)del sel:(SEL)sel;

    Swift

    func queryNews(forSearchComponent urlStr: String!, del: Any!, sel: Selector!)
  • Undocumented

    Declaration

    Objective-C

    - (void)getNewsAttachments:(NSString *)newsID del:(id)del sel:(SEL)sel;

    Swift

    func getNewsAttachments(_ newsID: String!, del: Any!, sel: Selector!)