Jelajahi Sumber

上传文件

陈士柏 2 tahun lalu
induk
melakukan
05f0a53f75
1 mengubah file dengan 26 tambahan dan 0 penghapusan
  1. 26 0
      mhotel/src/com/happy/Model/weixin/WeiXinUtil.java

+ 26 - 0
mhotel/src/com/happy/Model/weixin/WeiXinUtil.java

@@ -0,0 +1,26 @@
+package com.happy.Model.weixin;
+
+public class WeiXinUtil {
+
+    // 民宿小程序
+    public static String appid_c = "wxb064310cc85cf115";
+    public static String screct_c = "6f99b6724ad5714d3f253d524aa8d365";
+    // 民宿公众号
+    public static String appid_g = "wx3f20e656effd6400";
+    public static String screct_g = "5c30468b960221b1edf443030d20eebc";
+    // 民宿商户
+    public static String APIid = "gjkgjdkoowpjc46352AqiTTv708poJNV";  // 商户密钥
+    public static String key = "gjkgjdkoowpjc46352AqiTTv708poJNV"; // 商户密钥
+    public static String account = "1650403896";  // 商户号
+
+    public static String ip = "101.42.162.31";//测试回跳ip
+                              // "172.16.20.88";//线上回跳ip
+    public static String ip_h = // "https://chtech.ncjti.edu.cn/homestay/mhotel/";//31回调地址
+                                //"https://www.xn--gmq052a5d255v.com/hotelReservation/mhotel";//测试回跳地址 这个中文域名测试跳不过去
+                                // 不知道这个乡宿的域名微信是否会回调,不会的话要改成 https://chtech.ncjti.edu.cn/homestay/mhotel/
+                                 "https://chtech.ncjti.edu.cn/hotelReservation/mhotel";//88线上回跳地址
+
+    //public static String ip_q = "https://chtech.ncjti.edu.cn/hotelReservation/dist";
+    public static String ip_q = "http://192.168.161.227:8000/hotelReservation/dist";
+
+}