package com.ytpm.service.nofeeds;

import com.ytpm.app.model.YtDyzUser;
import com.ytpm.app.param.WxLoginParam;
import com.ytpm.app.view.WxLoginResult;
import com.ytpm.app.view.WxUserInfo;

public interface NfUserService {
    /**
     * openid查询用户信息
     */
    YtDyzUser selectByOpenid(String openid, Long ditchId);

    /**
     * 子事务处理用户crud
     */
    YtDyzUser crudForNewTrans(WxLoginParam param, WxUserInfo wxUserInfo, WxLoginResult loginResult);
}
