forked from fanruan/finekit
Browse Source
Merge in TC/finekit from ~FANGLEI/finekit:master to master * commit 'd7b8d629960cc91522c7c84c004b76f67da76743': REPORT-50207 埋点插件需要用到的一些后台方法封装到Finekit中
fanglei
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