Giter Site home page Giter Site logo

Comments (15)

ChenSee avatar ChenSee commented on July 26, 2024

这样应该是没有对的。复制Cookie:后面所有的字符。你是复制的哪个截图看看。

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

哦,這個圖。
qq 20181219210908

from chenpay.

ChenSee avatar ChenSee commented on July 26, 2024

微信的话应该先注释掉支付宝的代码。
image

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

test.php就以下這點內容

0.01, 'time' => time() + 3 * 60]]; try { $run = (new ChenPay\WxPay($WxCookie))->getData('wx2.qq.com', $GLOBALS['syncKey'])->DataHandle(); $GLOBALS['syncKey'] = $run->syncKey; foreach ($data as $item) { $order = $run->DataContrast($item['fee'], $item['time']); if ($order) echo $order . "订单有效!\n"; unset($order, $item);// 摧毁变量防止内存溢出 } echo $GLOBALS['WxSum'] . "次运行\n"; $GLOBALS['WxSum']++; } catch (\ChenPay\PayException\PayException $e) { echo $e->getMessage() . "\n"; unset($e);// 摧毁变量防止内存溢出 } unset($run, $data);// 摧毁变量防止内存溢出 });

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024
0.01, 'time' => time() + 3 * 60]]; try { $run = (new ChenPay\WxPay($WxCookie))->getData('wx2.qq.com', $GLOBALS['syncKey'])->DataHandle(); $GLOBALS['syncKey'] = $run->syncKey; foreach ($data as $item) { $order = $run->DataContrast($item['fee'], $item['time']); if ($order) echo $order . "订单有效!\n"; unset($order, $item);// 摧毁变量防止内存溢出 } echo $GLOBALS['WxSum'] . "次运行\n"; $GLOBALS['WxSum']++; } catch (\ChenPay\PayException\PayException $e) { echo $e->getMessage() . "\n"; unset($e);// 摧毁变量防止内存溢出 } unset($run, $data);// 摧毁变量防止内存溢出 });

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

怎麼複製的內容粘貼上不全

from chenpay.

ChenSee avatar ChenSee commented on July 26, 2024

截图看看 test.php

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

qq 20181219212623
qq 20181219212552

from chenpay.

ChenSee avatar ChenSee commented on July 26, 2024

空格怎么这么多。感觉是这个问题 你用什么编辑器的

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

其實沒那麼多空格,我有點多此一舉了,粘貼到文本再截圖的。現在放另一組圖。
qq 20181219215438
qq 20181219215353

from chenpay.

ChenSee avatar ChenSee commented on July 26, 2024

wx2.qq.com 改成wx.qq.com

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

謝謝老大,這樣就解決了。
[root@host test]# php test.php
1次运行
2次运行
3次运行
4次运行
5次运行
6次运行
7次运行
不過現在點網頁上的充值顯示這個狀態。
qq 20181219222303

from chenpay.

ChenSee avatar ChenSee commented on July 26, 2024

这个没配置对吧 仔细看readme

from chenpay.

vggh66 avatar vggh66 commented on July 26, 2024

好的,我先自己研究下,有困難在來麻煩你。

from chenpay.

banduoba avatar banduoba commented on July 26, 2024

@vggh66 运行之后本地如何访问啊 谢谢可以告知下么

from chenpay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.