Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
lin
@caiqinghua
Member
NO. 17915 / 2015-04-02

[email protected]
深圳
20 Topics / 88 Replies
5 Followers
20 Following
3 Favorites
Lin
GitHub Public Repos
  • dp-agent 0

  • next-auth 0

    Authentication for the Web.

  • solana-web3.js 0

    Solana JavaScript SDK

  • grok-1 0

    Grok open release

  • rustdesk 0

    An open-source remote desktop, and alternative to TeamViewer.

  • AutoX 0

    A UiAutomator on android, does not need root access(安卓平台上的JavaScript自动化工具)

  • explorer 0

    An open source block explorer

  • ace 0

    Ace (Ajax.org Cloud9 Editor)

  • devpod 0

    Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use an...

  • cuda_hook 0

    Hooked CUDA-related dynamic libraries by using automated code generation tools.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 是不是像石家庄这种的小城市都没有公司用 ruby 呢 at June 27, 2015

    #9 楼 @lgn21st  做 peatio CTO 也是远程吗?

  • Rack 在整个 Ruby Web 系统中处于什么位置? at June 25, 2015

    #8 楼 @suffering 你是最牛的,刨根问底

  • jimu Mirror,加速你的 Android UI 开发 at June 23, 2015

    好工具

  • The Ruby Community: The Next Version at June 19, 2015

    #5 楼 @jasl 严重同意,能用对就不容易了,改造好更不容易了。

  • The Ruby Community: The Next Version at June 19, 2015

    #4 楼 @knwang 中国 rails 程序员还是太少了

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 19, 2015

    #33 楼 @martin91 tks Martin

  • Rack 在整个 Ruby Web 系统中处于什么位置? at June 19, 2015

    #6 楼 @espercn 谢谢,高手讲解,很清楚

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 18, 2015

    #29 楼 @ailen 中国 ruby 氛围还没起来,真正优秀的很少

  • UPYUN 全站 CDN 首批公测邀请,仅限 20 个名额! at June 17, 2015

    #18 楼 @upyun tks

  • UPYUN 全站 CDN 首批公测邀请,仅限 20 个名额! at June 17, 2015

    CDN 能解决哪些具体问题,如何用户都在服务器所在城市的周边,CDN 是不是用处不大?CDN 还有别的用处吗?

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 16, 2015

    #23 楼 @yanglei_ruby 请把简历发我邮箱,tks

  • 如何优雅地把 Hash 参数传递给 JavaScript at June 16, 2015

    #10 楼 @besfan 这方法不错,赞一个。自动系列化好像没啥用。我还是偏向于 <%= raw @params %>和 ajax 获取

  • 如何优雅地把 Hash 参数传递给 JavaScript at June 16, 2015

    #7 楼 @freelove 没理解,for example 吧

  • 微信支付 Gem at June 16, 2015

    #44 楼 @jasl 昨天晚上已经调通了,是授权目录设置问题,之前的猜测是正确的,还要注意授权目录设置后 10 分生效,请耐心等待

  • 微信支付 Gem at June 15, 2015

    #42 楼 @caiqinghua @jasl ajax 获取变量也成功了,最后调用 getBrandWCPayRequest,返回 invalid appid 错误,猜测是支付授权目录没有设置正确。rails 这支付授权目录要怎么设置?php 非 MVC 的比较简单。

  • 微信支付 Gem at June 15, 2015

    #41 楼 @jasl 控制器端是怎么写的? 这有问题吗?

    def wechat_pay_js_params
        @params = {
            appid: 'wx7d3xxxxxxxxc',
            prepay_id: 'wx201506150843452f821f7b070705485969'
          }
        _prepay_id = @params[:prepay_id]
        @params = {
            appId: 'WxPay.appid',
            timeStamp: Time.now.to_i.to_s,
            nonceStr: SecureRandom.uuid.tr('-', ''),
            package: "prepay_id=#{_prepay_id}",
            signType: "MD5"
          }
        render json: @params
      end
    

    我用 ajax 死活不成功,关键没有定位思路

  • 微信支付 Gem at June 15, 2015

    #38 楼 @jasl 最后调用 javascript 时,需要把 jsApiParameters 传到 javascript,请问如何优雅的实现? https://ruby-china.org/topics/9844 这里的方法不好。

    //调用微信JS api 支付
            function jsApiCall()
            {
                WeixinJSBridge.invoke(
                    'getBrandWCPayRequest',
                    <?php echo $jsApiParameters; ?>,  #这行在rails中如何实现?
                    function(res){
                        WeixinJSBridge.log(res.err_msg);
                        //alert(res.err_code+res.err_desc+res.err_msg);
                    }
                );
            }
    
  • 微信支付 Gem at June 15, 2015

    #36 楼 @caiqinghua 找到原因了,key 配错了,配置为 appsecret 了。@jasl 到处都是坑啊 此处要填商户 key,而不是 appsecret

    看到成功的 response,哈皮

    Key: return_code Value: SUCCESS
    
    Key: return_msg Value: OK
    
  • 微信支付 Gem at June 15, 2015

    @jasl 调用统一订单接口,一直提示签名失败,还没找到原因,帮忙给个定位思路?可能是 xml 编码问题吗? *错误结果 Key: return_code Value: FAIL Key: return_msg Value: 签名错误

    *代码

    @params = {
          body: 'pay one cent',
          out_trade_no: 'test003', #"test_order_#{Time.now.to_i.to_s}",
          total_fee: 1,
          spbill_create_ip: '127.0.0.1',
          notify_url: 'http://origin.xxx.com.cn/blogs/show/2',
          trade_type: 'JSAPI', # could be "JSAPI", "NATIVE" or "APP",
          openid: @blog.title # required when trade_type is `JSAPI`
        }
    
        @params = WxPay::Service.invoke_unifiedorder @params
    

    gem 算出的签名值和微信签名调试工具计算出来的值是一样的。http://mch.weixin.qq.com/wiki/tools/signverify/

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 14, 2015

    #18 楼 @PlayMonkey 和有赞大不一样

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 14, 2015

    #17 楼 @chen_rb 也在深圳吗?有空过来参观指导

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 14, 2015

    #18 楼 @PlayMonkey 哪年毕业?还在做 rails?不在深圳了?

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 14, 2015

    #13 楼 @aidewoode 你不断学习新东西,值得肯定,关于测试,建议先写测试,再写代码,测试驱动开发。nodejs 学习过吗?MySql 和 PostgreSql 都可以,熟悉 mongodb 更好,后续文件图片可能会用 mongodb 存储到自己的服务器取代图片云服务。收到几份简历,你发了吗?你叫什么名字?

  • 微信支付 统一支付接口 appid and openid not match at June 14, 2015

    #10 楼 @jasl 理解。为了 gem 包的完备性,建议在 readme 中说明,为什么不在这个 gem 中获取 openid。另外建议加上调试的注意点。

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 13, 2015

    #11 楼 @aidewoode 最好是深圳的,能来公司上班,如果你特别优秀,非深圳也可以考虑。

  • 微信支付 统一支付接口 appid and openid not match at June 13, 2015

    #2 楼 @jasl gem 中为什么没有获取 code,用 code 获取 openid 的过程?

  • 微信支付 统一支付接口 appid and openid not match at June 13, 2015

    #5 楼 @pingplusplus ping++ 里面貌似没有和本问题相关的微信支付内容,有广告嫌疑@lgn21st

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 13, 2015

    #8 楼 @aidewoode #### Ruby on Rails 实习工程师

    基本要求

    1. 熟悉 Ruby on Rails(无开发经验要求);
    2. 有编写自动化测试用例的习惯;
    3. 熟悉 Linux、MySQL、Git;
    4. 熟悉 HTML, CSS, Javascript;

    加分项

    1. 熟悉流行前端框架,如:Backbone, AngularJS
    2. 熟悉微信开发
    3. 熟悉 spree 工作内容也是 rails 相关开发,微商城系统开发

    你在深圳吗?

  • 一直想找 Ruby 的工作,但是随便一谈工资往往就比现在的 Android 工作低太多,大家有什么看法呢? at June 13, 2015

    你喜欢 ruby 且非常出色的话,工资不是转 ruby 的问题,可以看看我们的招聘链接: https://ruby-china.org/topics/26007

  • [深圳] 鲜品会信息技术招聘 Ruby on Rails 工程师 3 名 ( 10k-30k ) at June 13, 2015

    #5 楼 @aidewoode 今天开始招聘,没有时间限制,招满为止

  • Prev
  • 1
  • 2
  • 3
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English