yigger / jiezhang Goto Github PK
View Code? Open in Web Editor NEW基于 wepy 开发的一款纯记账的微信小程序
License: MIT License
基于 wepy 开发的一款纯记账的微信小程序
License: MIT License
哈哈,先感谢一波
不知道为什么跑不起来,尝试了勾选增强编译和取消ES6转ES5都不行
您好,麻烦您帮忙看一个build报错:
[Error] Missing files: @/utils/host in /~/Projects/Github_Remote/MP/jiezhang/src/pages/assets/asset_form.wpy
感谢您的帮助
求一个后台数据库表结构
想架一个自己用,谢谢!
看了下代码,好像用了wx.setStorageSync这样的api,这是小程序提供的数据存储接口吧。
这种存储微信那边有什么限制吗?比如带宽总容量之类,如果超出了是否可以购买呢
$ bundle exec rake db:create RAILS_ENV=development --trace
/var/lib/gems/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: _1' is reserved for numbered parameter; consider another name /var/lib/gems/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning:
_2' is reserved for numbered parameter; consider another name
/var/lib/gems/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: _3' is reserved for numbered parameter; consider another name /var/lib/gems/2.7.0/gems/dry-configurable-0.8.2/lib/dry/configurable/settings/argument_parser.rb:41: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /var/lib/gems/2.7.0/gems/dry-configurable-0.8.2/lib/dry/configurable/settings/argument_parser.rb:44: warning: The called method
options' is defined here
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/any.rb:5: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/definition.rb:30: warning: The called method initialize' is defined here /var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/decorator.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/options.rb:8: warning: The called method
initialize' is defined here
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/sum.rb:43: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/options.rb:8: warning: The called method initialize' is defined here rake aborted! NoMethodError: undefined method
new_ostruct_member' for #Config::Options
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:175:in method_missing' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:202:in
block in __convert'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:200:in each' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:200:in
__convert'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:91:in reload!' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config.rb:49:in
load_files'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config.rb:57:in load_and_set_settings' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/integrations/rails/railtie.rb:11:in
preload'
/var/lib/gems/2.7.0/gems/railties-5.1.6.1/lib/rails/railtie.rb:185:in public_send' /var/lib/gems/2.7.0/gems/railties-5.1.6.1/lib/rails/railtie.rb:185:in
method_missing'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/integrations/rails/railtie.rb:21:in block in <class:Railtie>' /var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:67:in
block in execute_hook'
/var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:60:in with_execution_control' /var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:65:in
execute_hook'
/var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:50:in block in run_load_hooks' /var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:49:in
each'
/var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:49:in run_load_hooks' /var/lib/gems/2.7.0/gems/railties-5.1.6.1/lib/rails/application.rb:91:in
inherited'
/home/ubuntu/jiezhang-back-open/config/application.rb:11:in <module:JieZhang>' /home/ubuntu/jiezhang-back-open/config/application.rb:9:in
<top (required)>'
/home/ubuntu/jiezhang-back-open/Rakefile:4:in require_relative' /home/ubuntu/jiezhang-back-open/Rakefile:4:in
<top (required)>'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/rake_module.rb:29:in load' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/rake_module.rb:29:in
load_rakefile'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:703:in raw_load_rakefile' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:104:in
block in load_rakefile'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:186:in standard_exception_handling' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:103:in
load_rakefile'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:82:in block in run' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:186:in
standard_exception_handling'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:80:in run' /var/lib/gems/2.7.0/gems/rake-12.3.2/exe/rake:27:in
<top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in
错误信息如上,请各位大佬看看是什么原因,谢谢!
有没有生成好的dist文件
点击非当前天数不显示
只有前端开源了,后端有吗?
能提供一份后端demo数据吗,都跑起来了缺数据,不知道具体格式,谢啦
await 无法同步
const thirdSession = await getOpenId()
const result = await wepy.request({
url: url,
method: method,
data: params,
header: {
'Content-Type': 'application/json',
'X-WX-Skey': thirdSession,
'X-WX-APP-ID': Host.appid,
'X-WX-PAGES': pageRoutes.join(',')
},
})
实际运行没有等到获取 thirdSession ,直接调用 wepy.request
类似的:
const wxLogin = await wepy.login()
const data = await wepy.request({
url: Host.check_openid,
method: 'POST',
params: { 'code': wxLogin.code}
})
实际运行没有等到获取 wxLogin ,直接调用 wepy.request , wxLogin.code 为 null
你好,可以提供api 接口文档吗
[Error] Missing files: @/utils/host in E:\SAE-微信\小程序\jiezhang-master\src\components\statement\form.wpy
root@Unraid:/mnt/user/appdata/jiezhang-back-open/docker# docker build -t jz -f ./Dockerfile .
Sending build context to Docker daemon 19.46kB
Step 1/12 : From ruby:2.3.1
---> ffe8239a147c
Step 2/12 : ENV RAILS_ROOT /home/ljt
---> Running in ba7c2ab988b1
Removing intermediate container ba7c2ab988b1
---> 67c94f5a29d7
Step 3/12 : WORKDIR $RAILS_ROOT
---> Running in 3b49fd5fe860
Removing intermediate container 3b49fd5fe860
---> cec469b2a217
Step 4/12 : RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list && echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
---> Running in 5dde893e10c3
Removing intermediate container 5dde893e10c3
---> 98f42f082977
Step 5/12 : RUN apt-get update -qq && apt-get install -y build-essential vim nodejs npm python-setuptools python-docutils build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev vim python imagemagick libmagickcore-dev imagemagick-common libmagickwand-dev sudo ntpdate snmpd snmp libpng-dev libjpeg-dev rsync tk libpcre3-dev libmysqlclient-dev mysql-client autoconf automake gettext libpq-dev cmake redis-server
---> Running in 9155f9450e76
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie/InRelease
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-proposed-updates/InRelease
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie/Release.gpg Unable to connect to mirrors.163.com:http:
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-proposed-updates/Release.gpg Unable to connect to mirrors.163.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package gettext is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package rsync is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package build-essential
E: Unable to locate package vim
E: Unable to locate package nodejs
E: Unable to locate package npm
E: Unable to locate package python-setuptools
E: Unable to locate package python-docutils
E: Unable to locate package build-essential
E: Unable to locate package libgdbm-dev
E: Unable to locate package openssh-server
E: Unable to locate package checkinstall
E: Unable to locate package libicu-dev
E: Unable to locate package vim
E: Unable to locate package sudo
E: Unable to locate package ntpdate
E: Unable to locate package snmpd
E: Unable to locate package snmp
E: Package 'rsync' has no installation candidate
E: Unable to locate package tk
E: Unable to locate package mysql-client
E: Package 'gettext' has no installation candidate
E: Package 'cmake' has no installation candidate
E: Unable to locate package redis-server
VM96:2 插件未授权使用
(anonymous) @ VM96:2
后台放出来就完美了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.