forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
490 B
24 lines
490 B
4 years ago
|
package com.fanruan.api.conf;
|
||
|
|
||
|
import com.fr.config.MarketConfig;
|
||
|
|
||
|
public class MarketConfigKit {
|
||
|
/**
|
||
|
* 获取服务器appId
|
||
|
*
|
||
|
* @return appId
|
||
|
*/
|
||
|
public static String getAppId() {
|
||
|
return MarketConfig.getInstance().getCloudOperationMaintenanceId();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 获取已登录帆软市场的用户名
|
||
|
*
|
||
|
* @return userId
|
||
|
*/
|
||
|
public static String getUserId() {
|
||
|
return MarketConfig.getInstance().getBbsUsername();
|
||
|
}
|
||
|
}
|