vincenth520 / pinche_xcx Goto Github PK
View Code? Open in Web Editor NEW同城拼车微信小程序:blush:
License: Apache License 2.0
同城拼车微信小程序:blush:
License: Apache License 2.0
根据.htaccess 编写nginx重写条件,但水平不够报错404,请问能出份nginx重写条件吗?
现在无法登录了,官方文档说改接口Lee,不知道如何使用,可不可以给出解决方案
这个文件里没有user文件夹
与楼下那一位的朋友遇到的问题一样,请问如何解决!感谢!
这种需求不算小众.代码很可能被某些人拿去,投放市场.(如果你不在乎的话,忽视这个issue)
(换个合适的证书,不会影响你开源的目的)
付费版是拼车客人付费吗?
拼车小程序付费版pinche_xcx_vip 能不能像同城拼车微信小程序pinche_xcx录制一下视频?
前端在开发者工具和手机测试中获取不到头像还报错,搞不明白了
http://cdn.29ym.com/o_1bqu20pcrariodg1p1l901vn5a.png
http://cdn.29ym.com/o_1bqu22gvldfrmi3uti1utcofja.png
总是显示登录已过期,无法获取列表和发布信息
没有找到预约提示
POST http://pinche.com/api/user/login 404 (Not Found)
已经搭建了环境,测试 http://pinche.com/api/info/lists返回结果是
{"status":1,"msg":"\u83b7\u53d6\u6210\u529f","list":null}
①:
data:
msg: "登录已过期"
status: -1
②:
还有在授权登录的时候返回值中res.user是null
util.req('user/login',loginParams,(res)=>{
console.log('res=>',res)
})
Can't find variable: result;at pages/dynamic/index getList function;at api request success callback function
真机测试发生错误如上代码
在本地服务器是可以的,云服务器不可以
老版的api很多都不能用了,不知道还会再更新么?
有成功搭建的吗
var rootDocment = 'https://sfc188.club/www/188/Apps/Api/';
报错VM2373 appservice:1083 POST https://sfc188.club/www/188/Apps/Api/user/vaild_sk 404 (Not Found)
https://sfc188.club/www/188/Apps/Api/info/lists 404 (Not Found)
请问该如何配置?谢谢指教!
安装后端后为什么空白
您好,发现了两个小Bug希望可以修复,修复代码在后面。
getList: function getList() {
util.req('dynamic/getlist', { page: page }, function (**data**) {
var list = **data.list**;
...
**list.forEach**(function (item) {
var li = {
...
};
}
可以看到对返回值data的list属性调用了forEach函数。
在pinche\pinche\pages\utils\util.js 的req()函数中可以发现失败回调返回值是false,也就是在false上取list然后再调用foreach方法,此时会报出TypeError: Cannot read property 'forEach' of undefined。
function req(url, data, cb) {
wx.request({
success: function success(res) {
return typeof cb == "function" && cb(res.data);
},
fail: function fail() {
**return typeof cb == "function" && cb(false);**
}
});
}
修复:
对返回值进行判断,加上一行 if(data)即可。
getList: function getList() {
util.req('dynamic/getlist', { page: page }, function (**data**) {
if(**data**){
....
}
}
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.