I have found the SRID I need in this page:http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/pcs.html and this page:http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/gcs.html , and use ST_Transform to transfer the WGS84 coordinate to local cartesian coordinate, and can get the distance result in Unit meter.
Hope this can help others :)