收藏
回答

uploadFile后,提示statusCode: 404错误?

uploadFile后,提示statusCode: 404错误。

  test:function(){
    wx.chooseImage({
      
      success: function(res) {
        wx.showLoading({
          title: '上传中,请稍等...',
        })
        console.log(res)
        wx.uploadFile({
          url: 'http://localhost:63342/mypro/1.php',
          filePath: res.tempFilePaths[0],
          name: 'file',
          success(res){
            console.log(res)
          },
        
        })
        
      },
    })
  },
回答关注问题邀请回答
收藏

1 个回答

  • 岭南
    岭南
    2022-06-04

    我也是,请问是为啥呢

    2022-06-04
    有用
    回复
登录 后发表内容
问题标签