/*
 * @author lsy
 * @date   2019-09-04
 **/
import 'package:gmalpha_flutter/Annotations/anno/Get.dart';
import 'package:gmalpha_flutter/Annotations/anno/Post.dart';
import 'package:gmalpha_flutter/Annotations/anno/Query.dart';
import 'package:gmalpha_flutter/Annotations/anno/ServiceCenter.dart';
import 'package:gmalpha_flutter/commonModel/net/Responce/SimpleResponce.dart';
import 'package:gmalpha_flutter/userModel/service/remote/entity/CommentBean.dart';
import 'package:gmalpha_flutter/userModel/service/remote/entity/CountryBean.dart';
import 'package:gmalpha_flutter/userModel/service/remote/entity/TestUserEntity.dart';
import 'package:gmalpha_flutter/userModel/service/remote/entity/UserEntity.dart';
import 'package:gmalpha_flutter/userModel/service/remote/entity/UserResultBean.dart';

@ServiceCenter()
abstract class UserApi {
  @Get("api/account/user_profile")
  UserResultBean getUserInfo(@Query("user_id") String userID);

  @Post("api/v1/suggestion")
  CommentBean comment(@Query("content") String content, @Query("phone") String phone);

  @Get("api/v1/countries")
  CountryBean getCountrys();
}
