1234567891011121314 |
- package com.example.myapplication.service;
- import android.content.Context;
- import com.example.myapplication.utils.Constants;
- import com.example.myapplication.utils.SPUtils;
- public class SessionIdService {
- public static String getSessinId(Context context) {
- return (String) SPUtils.get(context, Constants.SP_USER_SESSION_ID, Constants.SP_KEY_USER_SESSION_ID, "");
- }
- }
|