generated from root/miduo_server
充值发货
parent
599b18f201
commit
5917401893
|
@ -92,7 +92,7 @@ public class RechargeController {
|
|||
LOGGER.info("serviceKey : " + serviceKey);
|
||||
try {
|
||||
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
|
||||
result = rPCClient.getClient().deliveryRecharge(Integer.parseInt(creditId), payitem,productId, Integer.parseInt(stone));
|
||||
result = rPCClient.getClient().deliveryRecharge(Integer.parseInt(creditId), payitem,productId, Double.parseDouble(amount));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ public class UserController {
|
|||
}
|
||||
|
||||
public static void main (String [] args){
|
||||
String s = MD5Util.encrypByMd5(YsjConstant.TW_GameKey + "111112" + 10074);
|
||||
String s = MD5Util.encrypByMd5(YsjConstant.TW_GameKey + "9000709253" + 10074);
|
||||
System.out.println(s);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,8 @@ server.port=9991
|
|||
server.context-path=/delivery
|
||||
server.deliveryAddress=60.1.1.12:9991
|
||||
# redis config
|
||||
spring.redis.host = 150.116.94.74
|
||||
#spring.redis.host = 150.116.94.74
|
||||
spring.redis.host = 60.1.1.14
|
||||
spring.redis.port = 6379
|
||||
spring.redis.password = redis.ljsd.COM@
|
||||
spring.redis.expireTime = -1
|
||||
|
|
|
@ -16,6 +16,6 @@ service RPCRequestIFace{
|
|||
|
||||
Result testdeliveryGood(1:i32 userId, 2:string payitem) throws (1:common.InvalidOperException ouch);
|
||||
|
||||
Result deliveryRecharge(1:i32 userId, 2:string rewardItems,3: string productId,4: i32 stone) throws (1:common.InvalidOperException ouch);
|
||||
Result deliveryRecharge(1:i32 userId, 2:string rewardItems,3: string productId,4: double amount) throws (1:common.InvalidOperException ouch);
|
||||
Result sendMail(1:i32 userId, 2:string rewardItems,3:string title,4:string content) throws (1:common.InvalidOperException ouch);
|
||||
}
|
Loading…
Reference in New Issue