Commit 01facf64 authored by 任国军's avatar 任国军

fix registerUserInfo

parent ca938e6d
Pipeline #22826 passed with stage
in 3 seconds
......@@ -49,10 +49,10 @@ class UserController extends Controller {
async registerUserInfo() {
const { ctx, service } = this;
const input_params = ctx.request.body;
const { avatar, nickname, province, country, sex, city } = input_params;
const { avatar, nickname, province, country, sex, city, userUuid } = input_params;
const encryptedData = input_params.encryptedData || '';
const iv = input_params.iv || '';
const params = { avatar, nickname, province, country, sex, city, encryptedData, iv };
const params = { avatar, nickname, province, country, sex, city, encryptedData, iv, userUuid };
const ret = await service.course.v5.user.registerUserInfo(params);
ctx.success(ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment