checkDaily static method

Future<DataResult> checkDaily()

签到

Implementation

static Future<DataResult> checkDaily() async {
  var res = await BaseDao.fromBaseEncrypt({}, Address.checkDaily());
  if (res.result) {
    var entity = TokenEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}