Commit 51a73fc0 by 任晓松

商标驳回复审推送

parent 5cda7c2e
......@@ -153,7 +153,17 @@ class utilsDeliverSve extends AppServiceBase{
async addOfficial(pobj,actionBody){
let url = this.centerOrderUrl + 'action/tmreview/springBoard';
let result = await this.restPostUrl(pobj, url);
return result;
let r = {
status: 1, //1为成功,否则为失败
msg: "推送成功",
data: null
};
if(result.status !=0){
r.status = 0;
r.msg = result.msg;
return r;
}
return r;
}
/**
......@@ -177,10 +187,17 @@ class utilsDeliverSve extends AppServiceBase{
const url = this.centerOrderUrl +"action/tmreview/springBoard";
pobj.actionType = 'addReviewList';
let result = await this.restPostUrl(pobj, url);
let r = {
status: 1, //1为成功,否则为失败
msg: "推送成功",
data: null
};
if(result.status !==0){
return system.getResult(null,result.msg)
r.status=1;
r.msg = result.msg;
return r;
}
return result;
return r;
}
/**
......@@ -255,20 +272,20 @@ class utilsDeliverSve extends AppServiceBase{
server = '服务';
}
let data ={
applyUser:actionBody.applicantName,//申请人
applyName:actionBody.applicantName,//申请人
addr:actionBody.addr,//通信地址
name:actionBody.dutyName,//主要负责人
duty:actionBody.duty,//职务
type:actionBody.tradeType,//商标大类
secType:secType,//商标二类
image:actionBody.tradeImg,//商标图样
tm_name:actionBody.tradeImg,//商标图样
num:actionBody.askforId,//申请号
docNo:actionBody.docNo,//发文号
select:actionBody.isNeedSup,//是否补充材料 是 否
server:server
}
let url = '';
let url = this.fileDealUrl + "/gsb/tmreject";
let result = await this.restPostUrl(data,url);
if(result.status !=1){
return system.getResult(null,result.msg);
......
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