generated from root/miduo_server
修改返利
parent
1897e92afb
commit
e63b01758f
|
|
@ -240,6 +240,9 @@ public class GmController {
|
||||||
String str;
|
String str;
|
||||||
while ((str = in.readLine()) != null) {
|
while ((str = in.readLine()) != null) {
|
||||||
String[] s = str.split("\t");
|
String[] s = str.split("\t");
|
||||||
|
if(s[0].charAt(s[0].length()-1)==' '){
|
||||||
|
s[0] = s[0].substring(0,s[0].length()-1);
|
||||||
|
}
|
||||||
RechargeInfo rechargeInfo = new RechargeInfo(s[0], Double.valueOf(s[1]), 0);
|
RechargeInfo rechargeInfo = new RechargeInfo(s[0], Double.valueOf(s[1]), 0);
|
||||||
String json = gson.toJson(rechargeInfo);
|
String json = gson.toJson(rechargeInfo);
|
||||||
System.out.println(s[0]+"||"+s[1]);
|
System.out.println(s[0]+"||"+s[1]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue