@@ 79-92 (lines=14) @@ | ||
76 | $this->__construct(); |
|
77 | } |
|
78 | ||
79 | public function getBizContent() |
|
80 | { |
|
81 | /*$this->bizContent = "{"; |
|
82 | foreach ($this->bizParas as $k=>$v){ |
|
83 | $this->bizContent.= "\"".$k."\":\"".$v."\","; |
|
84 | } |
|
85 | $this->bizContent = substr($this->bizContent,0,-1); |
|
86 | $this->bizContent.= "}";*/ |
|
87 | if(!empty($this->bizParas)){ |
|
88 | $this->bizContent = json_encode($this->bizParas,JSON_UNESCAPED_UNICODE); |
|
89 | } |
|
90 | ||
91 | return $this->bizContent; |
|
92 | } |
|
93 | ||
94 | public function getAuthCode() |
|
95 | { |
@@ 244-257 (lines=14) @@ | ||
241 | $this->bizParas['goods_detail'] = $goodsDetailList; |
|
242 | } |
|
243 | ||
244 | public function getBizContent() |
|
245 | { |
|
246 | /*$this->bizContent = "{"; |
|
247 | foreach ($this->bizParas as $k=>$v){ |
|
248 | $this->bizContent.= "\"".$k."\":\"".$v."\","; |
|
249 | } |
|
250 | $this->bizContent = substr($this->bizContent,0,-1); |
|
251 | $this->bizContent.= "}";*/ |
|
252 | if (!empty($this->bizParas)) { |
|
253 | $this->bizContent = json_encode($this->bizParas, JSON_UNESCAPED_UNICODE); |
|
254 | } |
|
255 | ||
256 | return $this->bizContent; |
|
257 | } |
|
258 | } |