+ (BOOL)locationServicesEnabled {
if (([CLLocationManager locationServicesEnabled]) && ([CLLocationManager authorizationStatus] == kCLAuthorizationStatusAuthorized)) {
NSLog(@"手机gps定位已经开启");
return YES; } else {
NSLog(@"手机gps定位未开启");
return NO; } }