package com.tmerclub.cloud.systemtest.api.login;

import com.tmerclub.cloud.api.user.vo.UserApiVO;
import com.moyuer.cloud.systemtest.constants.Constant;
import com.moyuer.cloud.systemtest.util.HttpUtil;
import com.moyuer.cloud.systemtest.util.UrlEnum;

/**
 * @author lpj
 */
public class UserApi {
    /**
     * 获取用户信息
     */
    public static UserApiVO getUserInfo() {
        String url = Constant.API_URL + "/tmerclub_user/user/ma/getUserDetailInfo";
        return HttpUtil.get(url, UserApiVO.class, UrlEnum.API);
    }
}
