forked from fanruan/finekit
方磊
4 years ago
4 changed files with 60 additions and 0 deletions
@ -0,0 +1,23 @@
|
||||
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(); |
||||
} |
||||
} |
Loading…
Reference in new issue