Commit 682e756b by zhaoxiqing

gsb

parent d29e6eb6
......@@ -348,8 +348,10 @@ class EcontractApi {
signArr.push("startId=" + startId);
signArr.push("userId=" + userId);
signArr.push("key=" + busi.key);
var signStr = signArr.join("&")
var sign = md5(signStr).toUpperCase();
console.log(signStr, sign);
var sign = md5(signArr.join("&")).toUpperCase();
if (sign != obj.sign) {
return {
code: 1001001,
......
......@@ -1046,7 +1046,8 @@ class UserCtl extends CtlBase {
if(pobj.legal){
var usereaccountextend = await this.usereaccountextendSve.findOne({id:eaccount.id});
if(!usereaccountextend.id){
if(!usereaccountextend){
usereaccountextend = {};
usereaccountextend.id = eaccount.id;
usereaccountextend.zfb_no = pobj.zfb_no;
usereaccountextend.company_fullname = pobj.company_fullname;
......
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