package vip.xiaonuo.disk.provider;

import org.springframework.stereotype.Service;
import vip.xiaonuo.disk.api.NetDiskApi;
import vip.xiaonuo.disk.service.impl.UserService;

import javax.annotation.Resource;

/**
 * 网盘服务api的实现类
 */
@Service
public class NetDiskApiProvider implements NetDiskApi {

    @Resource
    private UserService userService;


    @Override
    public void insertUserRole(String userId) {
        userService.insertUserRole(userId);
    }
}
