591475ff6146d7ab0671401d0ba68feb55b90959.svn-base 387 B

1234567891011121314
  1. package com.example.myapplication.service;
  2. import android.content.Context;
  3. import com.example.myapplication.utils.Constants;
  4. import com.example.myapplication.utils.SPUtils;
  5. public class SessionIdService {
  6. public static String getSessinId(Context context) {
  7. return (String) SPUtils.get(context, Constants.SP_USER_SESSION_ID, Constants.SP_KEY_USER_SESSION_ID, "");
  8. }
  9. }