TWEB-50, simplify the code as mengjun's suggestion.
TWEB-50, simplify the code as mengjun's suggestion.

malaonline/Server,malaonline/Android,malaonline/Server,malaonline/Server,malaonline/Android,malaonline/iOS,malaonline/iOS,malaonline/iOS,malaonline/Android,malaonline/Server