| 1234567891011121314151617181920212223242526272829303132 | 
							- //
 
- //  ASSginViewModel.m
 
- //  Asteria
 
- //
 
- //  Created by iOS on 2023/11/29.
 
- //
 
- #import "ASSginViewModel.h"
 
- @implementation ASSginViewModel
 
- - (void)getSignData:(void(^)(NSArray *arr))compBlock {
 
-     [ASNetTools.shared getWithPath:getSignStateUrl param:@{} success:^(id _Nonnull json) {
 
-         NSArray *arr = json;
 
-         compBlock(arr);
 
-     } faild:^(NSString * _Nonnull code, NSString * _Nonnull msg) {
 
-         NSArray *arr= [NSArray array];
 
-         compBlock(arr);
 
-         [Current_normalTool.currentNav.topViewController.view makeToast:msg];
 
-     }];
 
- }
 
- - (void)signToday:(void(^)(void))compBlock {
 
-     [ASNetTools.shared postWithPath:postSignUrl param:@{} success:^(id _Nonnull json) {
 
-         compBlock();
 
-     } faild:^(NSString * _Nonnull code, NSString * _Nonnull msg) {
 
-         compBlock();
 
-         [Current_normalTool.currentNav.topViewController.view makeToast:msg];
 
-     }];
 
- }
 
- @end
 
 
  |