|
|
@@ -21,6 +21,7 @@ import com.cnd3b.utility.wechatpay.jsapipay.POJO.JSQueryOrderRequest;
|
|
|
import com.cnd3b.utility.wechatpay.jsapipay.POJO.JSWechatOrder;
|
|
|
import com.cnd3b.utility.wechatpay.jsapipay.jsapipay;
|
|
|
import com.cnd3b.utility.wechatpay.nativepay.nativepay;
|
|
|
+import jdk.nashorn.internal.objects.annotations.Getter;
|
|
|
import net.polyv.live.v1.util.LiveSignUtil;
|
|
|
import org.dom4j.dom.DOMElement;
|
|
|
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
|
|
|
@@ -538,10 +539,12 @@ public class WebClientRest {
|
|
|
return new sysmsg().getCustMsg();
|
|
|
}
|
|
|
|
|
|
- @POST
|
|
|
+ @GET
|
|
|
@Path("polyvAuth")
|
|
|
- public String polyvAuth(@FormParam("channelId") String channelId, @FormParam("userid") String userid, @FormParam("ts") Long ts, @FormParam("token") String token) {
|
|
|
+ public String polyvAuth(@QueryParam("channelId") String channelId, @QueryParam("userid") String userid, @QueryParam("ts") Long ts, @QueryParam("token") String token) {
|
|
|
|
|
|
+ System.err.println(channelId);
|
|
|
+ System.err.println(userid);
|
|
|
JSONObject result = new JSONObject();
|
|
|
long timeMillis = System.currentTimeMillis();
|
|
|
long diffTime = Math.abs(timeMillis - ts);
|