Coder Social home page Coder Social logo

Comments (4)

lazyou avatar lazyou commented on July 19, 2024

laravel5下。
我手动把 ServiceProvider,php下的
return new {$service}(config('wechat.appId'), config('wechat.secret'));
改成
return new $service(config('wechat.appId'), config('wechat.secret'));

接着又有下面的问题了。
[2015-04-24 19:49:38] local.ERROR: exception 'ErrorException' with message 'Class 'Overtrue\LaravelWechat\Facade' not found' in /var/www/meishenghuo/web/vendor/laravel/framework/src/Illuminate/Foundation/AliasLoader.php:63

from laravel-wechat.

overtrue avatar overtrue commented on July 19, 2024

@lazyou 抱歉,我昨天在开发中,还没完成,今天已经完成了,在新版里已经没有Facade了,新版是针对overtrue/wechat 2.0所更新的,所以请回滚到旧版:composer require "overtrue/laravel-wechat:1.0.3"

from laravel-wechat.

lazyou avatar lazyou commented on July 19, 2024

恩。退回来是解决了,那要怎么使用 jssdk?
顺便问下你有没有遇到过在微信浏览器内提交表单乱码的情况(ipd iphone没问题,联想的安卓机就出现类似 http://segmentfault.com/q/1010000002627452)?

from laravel-wechat.

overtrue avatar overtrue commented on July 19, 2024

@lazyou 可能还是部分机型浏览器有bug吧,因为如果服务端有问题,在任何设备上提交同样的内容即可重现。

from laravel-wechat.

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.