xiaohaizhao 4 месяцев назад
Родитель
Сommit
b3babfbf5d
3 измененных файлов с 4 добавлено и 5 удалено
  1. 2 4
      components/My_upload/My_upload.vue
  2. 1 1
      pages/login/login.vue
  3. 1 0
      pages/serviceSeeking/index.vue

+ 2 - 4
components/My_upload/My_upload.vue

@@ -113,8 +113,7 @@ const requestType = (file) => {
     // #endif
 
     return {
-        "classname": "system.attachment.huawei.OBS",
-        "method": "getFileName",
+        id: '10019701',
         "content": {
             "filename": `${Date.now() + file.size}.${ext}`,
             "filetype": ext,
@@ -176,8 +175,7 @@ const uploadFile = (res, data) => {
         header: { 'Content-Type': 'application/octet-stream' },
         success: () => {
             $Http.basic({
-                "classname": "system.attachment.huawei.OBS",
-                "method": "uploadSuccess",
+                id: 10019901,
                 "content": { "serialfilename": res.serialfilename }
             }).then(s => {
                 console.log("文件上传反馈", s)

+ 1 - 1
pages/login/login.vue

@@ -17,7 +17,7 @@
         <view class="input-box" style="margin-top:70rpx;">
             <view class="content">
                 <input type="number" :value="password" :focus="focused == 'password'"
-                    @input="onInput($event, 'password')" placeholder="请输入验证码" class="input" />
+                    @input="onInput($event, 'password')" placeholder="请输入验证码" maxlength="6" class="input" />
                 <view class="auth-code" @touchend.prevent="getAuthCode">
                     {{ downTime == 0 ? '获取验证码' : downTime + "S" }}
                 </view>

+ 1 - 0
pages/serviceSeeking/index.vue

@@ -90,6 +90,7 @@ function getList(init = false) {
     } catch (error) {
         content.where.customerphonenumber = uni.getStorageSync('phonenumber') || ''
     }
+    content.where.createuserid = uni.getStorageSync('WuserMsg').userid || ''
     $Http.basic({
         "id": "20230206091703",
         content