Browse Source

修改地址

dos 1 month ago
parent
commit
4ed1f3bf27

+ 4 - 4
game-business/src/main/java/com/game/business/controller/AppAgentController.java

@@ -254,16 +254,16 @@ public class AppAgentController extends BaseController {
        if(null == appUserAgent){
            return HttpRet.fail("转账失败,受益人不是代理");
        }
-       if(appUserAgent.getPid().longValue() == 0 || isTwoLevel(appUserAgent.getPid())){
+//       if(appUserAgent.getPid().longValue() == 0 || isTwoLevel(appUserAgent.getPid())){
            List<AppUserAgent> appUserAgentList = appUserAgentService.selectAllAgentList(userId,transerDto.getToUserId(),null,null);
-           if(null == appUserAgentList || appUserAgentList.size() < 1){
+           if(null == appUserAgentList || appUserAgentList.size() < 2){
                return HttpRet.fail("转账失败,只能给团队成员转账");
            }
-       }else{
+      /* }else{
             if(!isTeam(userId,transerDto.getToUserId())){
                 return HttpRet.fail("转账失败,只能给下级成员转账");
             }
-       }
+       }*/
        return finTranRecordService.transfer(transerDto);
     }
 

+ 3 - 3
game-business/src/main/java/com/game/business/util/other/PayOrderUtils.java

@@ -29,8 +29,8 @@ public class PayOrderUtils {
     private static final String key = "EKCAUP9FWRVGCCR2FVN3WZWVAXAQXINN45IGYD8QKVRYUYWHLRYZRKSOHY0ABEUHEW0SUVMIA1H7UCCKZ2UAC7YIPH5FZCMDPT1FTDUYFKHSU2DB3CJ24FDW97K2YPBP";
 /*    private static final String reqUrl = "http://samsunghook.xyz/api/pay/create_order";
     private static final String queryUrl = "http://samsunghook.xyz/api/pay/query_order";*/
-    private static final String reqUrl = "http://10.0.0.11:3021/api/pay/create_order";
-    private static final String queryUrl = "http://10.0.0.11:3021/api/pay/query_order";
+    private static final String reqUrl = "https://samsunghook.xyz/api/pay/create_order";
+    private static final String queryUrl = "https://samsunghook.xyz/api/pay/query_order";
     private static final String mchId = "20000380";
     private static final String wxCode = "8086";
     private static final String zfbCode = "8085";
@@ -38,7 +38,7 @@ public class PayOrderUtils {
 
     public static Map<String, Object> getPayUrl(String orderNo, String payType, Integer amount,String extra){
 
-        String url = "http://10.0.0.14:8080";
+        String url = "https://apifoxgame.samsunghook.com";
         Map<String, Object> resultMap = new HashMap<>();
         resultMap.put("code", 0);
         resultMap.put("mgs", "获取支付地址失败!");