微信公开课
微信公开课小程序热门讨论关于「小程序windows环境兼容性问题求助」的小程序开发问题
补充:社区社群接龙小程序,困扰多天的问题求老铁帮解决,就是在小程序接龙下单的时候,付款成功后,数据库内的表order中的status和pstype字段更新失败,调试出错截图如下,同样的代码在linux上跑就啥毛病没有,我就想在w
展开:社区社群接龙小程序,困扰多天的问题求老铁帮解决,就是在小程序接龙下单的时候,付款成功后,数据库内的表order中的status和pstype字段更新失败,调试出错截图如下,同样的代码在linux上跑就啥毛病没有,我就想在windows想跑这个小程序,看看有没有老铁能解决这个问题的,做好发66红包略表谢意myorderjs内容:!function(t){t&&t__esModule;}(require(utilrequestjs));vart=getApp();Page({data:{orderlist:[],count:2,allpage:0,loading:!1,status:0,pstype:0,notext:},onLoad:function(t){thisgetorder(tstatus,tpstype),wxhideShareMenu({});},getorder:function(a,e){varo=this;tutilrequest({url:entrywxappmyorder,method:get,data:{m:cy163_salesjl,status:a,pstype:e,openid:wxgetStorageSync(openid)},success:function(t){osetData({orderlist:tdatadataorderlist,allpage:tdatadataallpage,notext:tdatadatanotext,pstype:e,status:a,count:2});}});},changeorder:function(t){vara=tcurrentTargetdatasetstatus,e=tcurrentTargetdatasetpstype;thisgetorder(a,e);},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){wxstopPullDownRefresh(),thisgetorder(thisdatastatus,thisdatapstype);},onReachBottom:function(){vara=this;adataloading||(asetData({loading:!0}),adatacount<adataallpage&&(wxshowLoading({title:加载中,icon:loading}),setTimeout(function(){tutilrequest({url:entrywxappmyorder,method:get,data:{m:cy163_salesjl,page:adatacount,openid:wxgetStorageSync(openid),status:adatastatus,pstype:adatapstype},success:function(t){asetData({count:adatacount+1,orderlist:adataorderlistconcat(tdatadataorderlist),loading:!1});}}),wxhideLoading();},1e3)));},onShareAppMessage:function(){}});
更多有关「小程序windows环境兼容性问题求助」的讨论可以前往微信公开课小程序参与互动哦!了解更多
方法1:微信扫描微信公开课小程序码即可订阅热门讨论「小程序windows环境兼容性问题求助」
方法2:微信搜索微信公开课小程序名称进入,即可订阅热门讨论「小程序windows环境兼容性问题求助」
方法3:微信网页访问即速商店,长按识别微信公开课小程序码即可订阅热门讨论「小程序windows环境兼容性问题求助」
微信公开课小程序热门讨论「小程序windows环境兼容性问题求助」由微信公开课原创摘录于微信小程序商店shop.jisuapp.cn,转载请注明出处。
微信公开课热门讨论「小程序windows环境兼容性问题求助」由微信公开课开发者向微信用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。