Skip to content

上传文件不成功 #34

Description

@zhenyu-dev
    Conf.ACCESS_KEY = 'myAK';
    Conf.SECRET_KEY = 'mySK';
    const LOCAL_URL = this.props.addNewTaskFormReducer.imageUrl;
    //要上传的空间
    bucket = 'myBuckey';
    const scope = bucket + 123;
    //构建上传策略
    let putPolicy = new Auth.PutPolicy2(
      { scope: scope }
    );
    let uptoken = putPolicy.token();
    let formInput = {
      key : '1111',
    }
    Rpc.uploadFile(LOCAL_URL, uptoken, formInput);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions